SOURCES: lighttpd-mod_staticfile.conf - revert, put this to new pa...

Pawel Golaszewski blues at pld-linux.org
Sun Apr 27 21:35:04 CEST 2008


On Sun, 27 Apr 2008, glen wrote:
[...]
> - revert, put this to new package if really needed
[...]
>    lighttpd-mod_staticfile.conf (1.9 -> 1.10) 
[...]
> -# .fcgi, .php, .pl are most often handled by mod_fastcgi or mod_cgi
> -static-file.exclude-extensions = ( ".fcgi", ".php", ".pl" )
> +# .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
> +static-file.exclude-extensions = ( ".pl", ".fcgi" )

What is the rationale for putting it into new package?

If so - fcgi and pl should be as separate package too...

php is the same case as pl or fcgi (I think that "cgi" and "inc" should be 
too). It shouldn't be handled as pure static file, no matter if server has 
support for parsing it or not.


Why this way????
[...]
Index: SOURCES/lighttpd-mod_cgi_php.conf
diff -u SOURCES/lighttpd-mod_cgi_php.conf:1.3 
SOURCES/lighttpd-mod_cgi_php.conf:1.4
--- SOURCES/lighttpd-mod_cgi_php.conf:1.3       Sun Apr 27 13:41:16 2008
+++ SOURCES/lighttpd-mod_cgi_php.conf   Sun Apr 27 19:11:03 2008
@@ -6,3 +6,5 @@
        ".php" => "/usr/bin/php.cgi",
        ".php4" => "/usr/bin/php4.cgi",
 )
+
+static-file.exclude-extensions += (".php")
[...]

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list