diff options
| author | Emil Williams | 2025-08-20 23:59:06 +0000 |
|---|---|---|
| committer | Emil Williams | 2025-08-20 23:59:06 +0000 |
| commit | 33c7281c610623e84985bd1104236167a1ca06c7 (patch) | |
| tree | 7a8e42298db897a08d5378161c5f069e7289f29e /service/lighttpd-cgi.conf | |
| parent | d75ac24491b782974517cbff207bfbc17e46bd56 (diff) | |
| download | gorillanest-33c7281c610623e84985bd1104236167a1ca06c7.tar.xz gorillanest-33c7281c610623e84985bd1104236167a1ca06c7.tar.zst | |
Directories
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" +) |
