From: Elan Ruusamäe Date: Mon, 28 Apr 2008 20:30:27 +0000 (+0000) Subject: - do not by default forbid download of .pl (and .fcgi) scripts X-Git-Tag: auto/ti/lighttpd-1_4_19-5 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=refs%2Ftags%2Fauto%2Fti%2Flighttpd-1_4_19-5;p=packages%2Flighttpd.git - do not by default forbid download of .pl (and .fcgi) scripts Changed files: lighttpd-mod_cgi.conf -> 1.7 lighttpd-mod_fastcgi.conf -> 1.6 lighttpd-mod_staticfile.conf -> 1.11 --- diff --git a/lighttpd-mod_cgi.conf b/lighttpd-mod_cgi.conf index 8c5e97f..329f610 100644 --- a/lighttpd-mod_cgi.conf +++ b/lighttpd-mod_cgi.conf @@ -22,3 +22,9 @@ cgi.assign = ( # ".php" => "/usr/bin/php.cgi", # ".py" => "/usr/bin/python", ) + +#static-file.exclude-extensions = ( +# ".pl", +# ".php", +# ".py", +#) diff --git a/lighttpd-mod_fastcgi.conf b/lighttpd-mod_fastcgi.conf index 0a9485b..5fddfbf 100644 --- a/lighttpd-mod_fastcgi.conf +++ b/lighttpd-mod_fastcgi.conf @@ -11,3 +11,7 @@ server.modules += ( #### fastcgi module ## read fastcgi.txt for more info #fastcgi.debug = 1 + +#static-file.exclude-extensions = ( +# ".fcgi", +#) diff --git a/lighttpd-mod_staticfile.conf b/lighttpd-mod_staticfile.conf index 00d7471..ef7034f 100644 --- a/lighttpd-mod_staticfile.conf +++ b/lighttpd-mod_staticfile.conf @@ -5,11 +5,6 @@ server.modules += ( "mod_staticfile" ) -# which extensions should not be handled via static-file transfer -# -# .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi -static-file.exclude-extensions = ( ".pl", ".fcgi" ) - # see http://trac.lighttpd.net/trac/ticket/1216 #etag.use-inode = "enable" #etag.use-mtime = "enable"