diff options
Diffstat (limited to 'client/shared/lib/httpd/10-cgi.conf')
-rw-r--r-- | client/shared/lib/httpd/10-cgi.conf | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/client/shared/lib/httpd/10-cgi.conf b/client/shared/lib/httpd/10-cgi.conf deleted file mode 100644 index e6f4c85c..00000000 --- a/client/shared/lib/httpd/10-cgi.conf +++ /dev/null @@ -1,18 +0,0 @@ -# /usr/share/doc/lighttpd-doc/cgi.txt - -server.modules += ( "mod_cgi" ) - -$HTTP["url"] =~ "^/cgi-bin/" { -alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) -$HTTP["url"] =~ "^/cgi-bin/" { -cgi.assign = ( ".sh" => "/bin/sh" ) -} -} - -## Warning this represents a security risk, as it allow to execute any file -## with a .pl/.py even outside of /usr/lib/cgi-bin. -# -#cgi.assign = ( -# ".pl" => "/usr/bin/perl", -# ".py" => "/usr/bin/python", -#) |