918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Line | |
---|
1 | # /usr/share/doc/lighttpd-doc/cgi.txt |
---|
2 | |
---|
3 | server.modules += ( "mod_cgi" ) |
---|
4 | |
---|
5 | $HTTP["url"] =~ "^/cgi-bin/" { |
---|
6 | alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) |
---|
7 | $HTTP["url"] =~ "^/cgi-bin/" { |
---|
8 | cgi.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.