]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- add fastcgi.map-extensions sample
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 18 Dec 2006 13:36:24 +0000 (13:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-php-external.conf -> 1.8
    lighttpd-php-spawned.conf -> 1.5

lighttpd-php-external.conf
lighttpd-php-spawned.conf

index 7a57ab335ed7abbd0d0d29d40cc648c9c12f15be..ede6d0fdc46140ad95c43005d5263c6b16dea06d 100644 (file)
@@ -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 485f4030d290d87bb3fcb93a82736d93abc8b83f..c86474357720fb09f9776b4e479933c757c53b2d 100644 (file)
@@ -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",
This page took 0.093409 seconds and 4 git commands to generate.