aboutsummaryrefslogtreecommitdiff
path: root/lighttpd-cgi.conf
diff options
context:
space:
mode:
authoranon2025-08-20 23:17:32 +0200
committeranon2025-08-20 23:17:32 +0200
commit44b0e7d9a131f203e1d103af21d240f346b9a418 (patch)
tree623cb3e3a7351486e852f72e81efee00faff0775 /lighttpd-cgi.conf
parent15bb3d5b02dd99c1c4784cee63f0c81d9547e00f (diff)
downloadgorillanest-44b0e7d9a131f203e1d103af21d240f346b9a418.tar.xz
gorillanest-44b0e7d9a131f203e1d103af21d240f346b9a418.tar.zst
dont waste my time
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"
+)