public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Search Repo:
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
remove lighttpd.conf and fix the development config

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@1439 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Wed Jul 26 23:06:57 -0700 2006
commit  2c4fea336963479f009653d5ea5958d4db6e8874
tree    0d682b596ba8a3a003b620e8b74414f522b13165
parent  50762912e389f59c64bf3be759e7ba1e58934f04
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 # In the development environment your application's code is reloaded on
0
 # every request. This slows down response time but is perfect for development
0
 # since you don't have to restart the webserver when you make code changes.
0
-config.cache_classes = true
0
+config.cache_classes = false
0
 
0
 # Log error messages when you accidentally call methods on nil.
0
 config.whiny_nils = true
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,47 +1 @@
0
-# Default configuration file for the lighttpd web server
0
-# Start using ./script/server lighttpd
0
-
0
-server.port = 3002
0
-
0
-server.modules = ( "mod_rewrite", "mod_accesslog", "mod_fastcgi" )
0
-server.error-handler-404 = "/dispatch.fcgi"
0
-server.document-root = CWD + "/public/"
0
-
0
-server.errorlog = CWD + "/log/lighttpd.error.log"
0
-accesslog.filename = CWD + "/log/lighttpd.access.log"
0
-
0
-url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )
0
-
0
-# Change *-procs to 2 if you need to use Upload Progress or other tasks that
0
-# *need* to execute a second request while the first is still pending.
0
-fastcgi.server = ( ".fcgi" =>
0
- ( "localhost" =>
0
- (
0
- "min-procs" => 1,
0
- "max-procs" => 1,
0
- "socket" => CWD + "/tmp/sockets/fcgi.socket",
0
- "bin-path" => CWD + "/public/dispatch.fcgi",
0
- "bin-environment" => ( "RAILS_ENV" => "production" )
0
- )
0
- )
0
-)
0
-
0
-mimetype.assign = (
0
- ".css" => "text/css",
0
- ".gif" => "image/gif",
0
- ".htm" => "text/html",
0
- ".html" => "text/html",
0
- ".jpeg" => "image/jpeg",
0
- ".jpg" => "image/jpeg",
0
- ".js" => "text/javascript",
0
- ".png" => "image/png",
0
- ".swf" => "application/x-shockwave-flash",
0
- ".txt" => "text/plain"
0
-)
0
-
0
-# Making sure file uploads above 64k always work when using IE or Safari
0
-# For more information, see http://trac.lighttpd.net/trac/ticket/360
0
-$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
0
- server.max-keep-alive-requests = 0
0
-}
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
0
@@ -1 +1,47 @@
0
+# Default configuration file for the lighttpd web server
0
+# Start using ./script/server lighttpd
0
+
0
+server.port = 3002
0
+
0
+server.modules = ( "mod_rewrite", "mod_accesslog", "mod_fastcgi" )
0
+server.error-handler-404 = "/dispatch.fcgi"
0
+server.document-root = CWD + "/public/"
0
+
0
+server.errorlog = CWD + "/log/lighttpd.error.log"
0
+accesslog.filename = CWD + "/log/lighttpd.access.log"
0
+
0
+url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )
0
+
0
+# Change *-procs to 2 if you need to use Upload Progress or other tasks that
0
+# *need* to execute a second request while the first is still pending.
0
+fastcgi.server = ( ".fcgi" =>
0
+ ( "localhost" =>
0
+ (
0
+ "min-procs" => 1,
0
+ "max-procs" => 1,
0
+ "socket" => CWD + "/tmp/sockets/fcgi.socket",
0
+ "bin-path" => CWD + "/public/dispatch.fcgi",
0
+ "bin-environment" => ( "RAILS_ENV" => "production" )
0
+ )
0
+ )
0
+)
0
+
0
+mimetype.assign = (
0
+ ".css" => "text/css",
0
+ ".gif" => "image/gif",
0
+ ".htm" => "text/html",
0
+ ".html" => "text/html",
0
+ ".jpeg" => "image/jpeg",
0
+ ".jpg" => "image/jpeg",
0
+ ".js" => "text/javascript",
0
+ ".png" => "image/png",
0
+ ".swf" => "application/x-shockwave-flash",
0
+ ".txt" => "text/plain"
0
+)
0
+
0
+# Making sure file uploads above 64k always work when using IE or Safari
0
+# For more information, see http://trac.lighttpd.net/trac/ticket/360
0
+$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
0
+ server.max-keep-alive-requests = 0
0
+}

Comments

    No one has commented yet.