1 server.document-root = "/data/project/syj/public"
11 fastcgi.server += ( ".php" =>
13 "bin-path" => "/usr/bin/php5-cgi",
14 "socket" => "/tmp/php.socket",
17 "bin-environment" => (
18 "PHP_FCGI_CHILDREN" => "4",
19 "PHP_FCGI_MAX_REQUESTS" => "10000"
21 "bin-copy-environment" => (
22 "PATH", "SHELL", "USER"
24 "broken-scriptfilename" => "enable"
27 url.rewrite-if-not-file = ("/[^\?]*(\?.*)?$" => "/index.php$1" )
29 index-file.names = ( "index.php" )
31 server.pid-file = "/data/work/syj/lighttpd/lighttpd.pid"
32 server.errorlog = "/data/work/syj/lighttpd/lighttpd-error.log"
33 accesslog.filename = "/data/work/syj/lighttpd/lighttpd-access.log"
34 accesslog.format = "%{X-Forwarded-For}i %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
36 include_shell "/usr/share/lighttpd/create-mime.assign.pl"
38 compress.cache-dir = "/data/work/syj/lighttpd/lighttpd-cache"
39 compress.filetype = ( "application/javascript", "text/css")