aboutsummaryrefslogtreecommitdiff
path: root/lighttpd-cgi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lighttpd-cgi.conf')
-rw-r--r--lighttpd-cgi.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/lighttpd-cgi.conf b/lighttpd-cgi.conf
new file mode 100644
index 0000000..07b55d7
--- /dev/null
+++ b/lighttpd-cgi.conf
@@ -0,0 +1,21 @@
+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"
+)