close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
918-git-images-111dconfigfileconfigure-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-instalacionwebconsole3
| 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.