source: client/shared/lib/httpd/10-cgi.conf @ 1d1e06d

Last change on this file since 1d1e06d was 3f73876, checked in by adv <adv@…>, 14 years ago

version 1.0.2 httpdlog #421 #422

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2353 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 441 bytes
Line 
1# /usr/share/doc/lighttpd-doc/cgi.txt
2
3server.modules += ( "mod_cgi" )
4
5$HTTP["url"] =~ "^/cgi-bin/" {
6alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" )
7$HTTP["url"] =~ "^/cgi-bin/" {
8cgi.assign = ( ".sh" => "/bin/sh" )
9}
10}
11
12## Warning this represents a security risk, as it allow to execute any file
13## with a .pl/.py even outside of /usr/lib/cgi-bin.
14#
15#cgi.assign      = (
16#       ".pl"  => "/usr/bin/perl",
17#       ".py"  => "/usr/bin/python",
18#)
Note: See TracBrowser for help on using the repository browser.