SOURCES: lighttpd-php-external.conf, lighttpd-php-spawned.conf - a...

glen glen at pld-linux.org
Mon Dec 18 14:36:29 CET 2006


Author: glen                         Date: Mon Dec 18 13:36:29 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add fastcgi.map-extensions sample

---- Files affected:
SOURCES:
   lighttpd-php-external.conf (1.7 -> 1.8) , lighttpd-php-spawned.conf (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/lighttpd-php-external.conf
diff -u SOURCES/lighttpd-php-external.conf:1.7 SOURCES/lighttpd-php-external.conf:1.8
--- SOURCES/lighttpd-php-external.conf:1.7	Fri Dec 15 15:24:30 2006
+++ SOURCES/lighttpd-php-external.conf	Mon Dec 18 14:36:24 2006
@@ -1,4 +1,14 @@
 # FastCGI server for PHP
+
+# Sometimes you need to run old html file(s) as php pages, especially if you
+# are migrating from Apache web server. To treat html pages as php you need to
+# map multiple extensions to the same fastcgi server using fastcgi.map-extensions
+# directive.
+#fastcgi.map-extensions = (
+#	".html" => ".php",
+#	".php3" => ".php",
+#)
+
 fastcgi.server += (
 	".php" => ((
 		"socket" => "/var/run/php/fcgi.sock",

================================================================
Index: SOURCES/lighttpd-php-spawned.conf
diff -u SOURCES/lighttpd-php-spawned.conf:1.4 SOURCES/lighttpd-php-spawned.conf:1.5
--- SOURCES/lighttpd-php-spawned.conf:1.4	Fri Dec 15 12:53:50 2006
+++ SOURCES/lighttpd-php-spawned.conf	Mon Dec 18 14:36:24 2006
@@ -1,4 +1,14 @@
 # FastCGI server for PHP
+
+# Sometimes you need to run old html file(s) as php pages, especially if you
+# are migrating from Apache web server. To treat html pages as php you need to
+# map multiple extensions to the same fastcgi server using fastcgi.map-extensions
+# directive.
+#fastcgi.map-extensions = (
+#	".html" => ".php",
+#	".php3" => ".php",
+#)
+
 fastcgi.server += (
 	".php" => ((
 		"bin-path" => "/usr/bin/php.fcgi",
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lighttpd-php-external.conf?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SOURCES/lighttpd-php-spawned.conf?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list