aboutsummaryrefslogtreecommitdiff
path: root/lighttpd-cgi.conf
blob: 24df494bb2f9a4bf8bcb5e767badfc1ba3691f6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
)