Code

Added empty directories
[gosa.git] / gosa-core / debian / gosa-lighttpd.conf
1 # lighttpd configuration for GOsa
3 # Set alias to http://<host>/gosa/
4 alias.url += (
5         "/gosa/" => "/usr/share/gosa/html/"
6 )
8 # Enable FastCGI and set it to handle .php URLs
9 # php-cgi is run with the GOsa-required options
10 server.modules += ( "mod_fastcgi" )
12 $HTTP["url"] =~ "^/gosa/" {
13         fastcgi.server = ( ".php" =>
14                 ((
15                         "bin-path" => "/usr/bin/php-cgi -d expose_php=Off -d magic_quotes_gpc=On",
16                         "socket" => "/tmp/php.socket",
17                         "max-procs" => 2,
18                         "idle-timeout" => 20,
19                         "bin-environment" => ( 
20                                 "PHP_FCGI_CHILDREN" => "4",
21                                 "PHP_FCGI_MAX_REQUESTS" => "10000"
22                         ),
23                         "bin-copy-environment" => (
24                                 "PATH", "SHELL", "USER"
25                         ),
26                         "broken-scriptfilename" => "enable"
27                 ))
28         )
29 }