diff options
Diffstat (limited to 'service/lighttpd-cgi.conf')
| -rw-r--r-- | service/lighttpd-cgi.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/service/lighttpd-cgi.conf b/service/lighttpd-cgi.conf new file mode 100644 index 0000000..24df494 --- /dev/null +++ b/service/lighttpd-cgi.conf @@ -0,0 +1,20 @@ +server.modules = ( + "mod_cgi", + "mod_rewrite", + "mod_setenv" +) + +server.document-root = var.CWD +server.port = 5050 + +url.rewrite-once = ( + "/" => "/gorillanest.pl.cgi" +) + +setenv.add-environment = ( + "PERL5LIB" => env.PERL5LIB +) + +cgi.assign = ( + ".pl.cgi" => "/usr/bin/perl" +) |
