Ticket #10993: patch-doc-lighttpd.conf

File patch-doc-lighttpd.conf, 1.4 KB (added by pguyot (Paul Guyot), 17 years ago)

New patch to improve the default configuration (should go to files/)

Line 
1--- doc/lighttpd.conf   2006-11-07 16:22:30.000000000 +0900
2+++ doc/lighttpd.conf   2006-11-07 16:23:30.000000000 +0900
3@@ -145,7 +145,7 @@
4 #server.error-handler-404   = "/error-handler.php"
5 
6 ## to help the rc.scripts
7-#server.pid-file            = "/var/run/lighttpd.pid"
8+server.pid-file            = "__PREFIX/var/run/lighttpd.pid"
9 
10 
11 ###### virtual hosts
12@@ -210,14 +210,14 @@
13 #                               ( "localhost" =>
14 #                                 (
15 #                                   "socket" => "/tmp/php-fastcgi.socket",
16-#                                   "bin-path" => "/usr/local/bin/php"
17+#                                   "bin-path" => "__PREFIX/bin/php"
18 #                                 )
19 #                               )
20 #                            )
21 
22 #### CGI module
23-#cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
24-#                               ".cgi" => "/usr/bin/perl" )
25+#cgi.assign                 = ( ".pl"  => "__PREFIX/bin/perl",
26+#                               ".cgi" => "__PREFIX/bin/perl" )
27 #
28 
29 #### SSL engine
30@@ -278,8 +278,8 @@
31 #ssi.extension              = ( ".shtml" )
32 
33 #### rrdtool
34-#rrdtool.binary             = "/usr/bin/rrdtool"
35-#rrdtool.db-name            = "/var/www/lighttpd.rrd"
36+#rrdtool.binary             = "__PREFIX/bin/rrdtool"
37+#rrdtool.db-name            = "__PREFIX/var/www/lighttpd.rrd"
38 
39 #### setenv
40 #setenv.add-request-header  = ( "TRAV_ENV" => "mysql://user@host/db" )