From: opensides Date: Thu, 6 May 2010 09:49:38 +0000 (+0000) Subject: - Renamed 99gosa-lighttpd.conf to gosa-lighttpd.conf X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c8d82c5e000f1385153ea5da336eac1da0f5062;p=gosa.git - Renamed 99gosa-lighttpd.conf to gosa-lighttpd.conf - Changed name in files git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18176 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/debian/99gosa-lighttpd.conf b/gosa-core/debian/99gosa-lighttpd.conf deleted file mode 100644 index 858c65bc2..000000000 --- a/gosa-core/debian/99gosa-lighttpd.conf +++ /dev/null @@ -1,29 +0,0 @@ -# lighttpd configuration for GOsa - -# Set alias to http:///gosa/ -alias.url += ( - "/gosa/" => "/usr/share/gosa/html/" -) - -# Enable FastCGI and set it to handle .php URLs -# php-cgi is run with the GOsa-required options -server.modules += ( "mod_fastcgi" ) - -$HTTP["url"] =~ "^/gosa/" { - fastcgi.server = ( ".php" => - (( - "bin-path" => "/usr/bin/php-cgi -d expose_php=Off -d magic_quotes_gpc=On", - "socket" => "/tmp/php.socket", - "max-procs" => 2, - "idle-timeout" => 20, - "bin-environment" => ( - "PHP_FCGI_CHILDREN" => "4", - "PHP_FCGI_MAX_REQUESTS" => "10000" - ), - "bin-copy-environment" => ( - "PATH", "SHELL", "USER" - ), - "broken-scriptfilename" => "enable" - )) - ) -} diff --git a/gosa-core/debian/gosa-lighttpd.conf b/gosa-core/debian/gosa-lighttpd.conf new file mode 100644 index 000000000..858c65bc2 --- /dev/null +++ b/gosa-core/debian/gosa-lighttpd.conf @@ -0,0 +1,29 @@ +# lighttpd configuration for GOsa + +# Set alias to http:///gosa/ +alias.url += ( + "/gosa/" => "/usr/share/gosa/html/" +) + +# Enable FastCGI and set it to handle .php URLs +# php-cgi is run with the GOsa-required options +server.modules += ( "mod_fastcgi" ) + +$HTTP["url"] =~ "^/gosa/" { + fastcgi.server = ( ".php" => + (( + "bin-path" => "/usr/bin/php-cgi -d expose_php=Off -d magic_quotes_gpc=On", + "socket" => "/tmp/php.socket", + "max-procs" => 2, + "idle-timeout" => 20, + "bin-environment" => ( + "PHP_FCGI_CHILDREN" => "4", + "PHP_FCGI_MAX_REQUESTS" => "10000" + ), + "bin-copy-environment" => ( + "PATH", "SHELL", "USER" + ), + "broken-scriptfilename" => "enable" + )) + ) +} diff --git a/gosa-core/debian/gosa.install b/gosa-core/debian/gosa.install index a1c2cedb2..f3bc55e2c 100644 --- a/gosa-core/debian/gosa.install +++ b/gosa-core/debian/gosa.install @@ -7,7 +7,7 @@ locale /usr/share/gosa plugins /usr/share/gosa setup /usr/share/gosa debian/gosa-apache.conf /etc/gosa -debian/99gosa-lighttpd.conf /etc/gosa +debian/gosa-lighttpd.conf /etc/gosa contrib/shells /etc/gosa contrib/encodings /etc/gosa contrib/openldap/slapd.conf /usr/share/doc/gosa/slapd.conf-example diff --git a/gosa-core/debian/gosa.postinst b/gosa-core/debian/gosa.postinst index 1e6e61fb5..6286d073a 100644 --- a/gosa-core/debian/gosa.postinst +++ b/gosa-core/debian/gosa.postinst @@ -74,7 +74,7 @@ if [ -d /etc/lighttpd/conf-available ]; then echo "Making /gosa available in /etc/lighttpd/conf-enabled/" # Add GOsa include file - ln -s /etc/gosa/99gosa-lighttpd.conf /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf + ln -s /etc/gosa/gosa-lighttpd.conf /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf fi # Finally restart servers