mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 08:37:16 +00:00
16 lines
343 B
Plaintext
16 lines
343 B
Plaintext
![]() |
# /usr/share/doc/lighttpd/cgi.txt
|
||
|
|
||
|
server.modules += ( "mod_cgi" )
|
||
|
|
||
|
$HTTP["url"] =~ "^/cgi-bin/" {
|
||
|
cgi.assign = ( "" => "" )
|
||
|
}
|
||
|
|
||
|
## 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",
|
||
|
#)
|