]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-php-spawned.conf
- skip configure.in chunk for version bump
[packages/lighttpd.git] / lighttpd-php-spawned.conf
index 485f4030d290d87bb3fcb93a82736d93abc8b83f..eff9287a3410164427f819569f6c0978995279dd 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",
@@ -10,11 +20,12 @@ fastcgi.server += (
                        "PHP_FCGI_MAX_REQUESTS" => "10000"
                ),
                "bin-copy-environment" => (
-                       "PATH", "SHELL", "USER"
+                       "PATH", "SHELL"
                ),
                "broken-scriptfilename" => "enable",
                "check-local" => "enable",
                "disable-time" => 1,
+#        "allow-x-send-file" => "enable",
        ))
 )
 
This page took 0.03316 seconds and 4 git commands to generate.