From 44b0e7d9a131f203e1d103af21d240f346b9a418 Mon Sep 17 00:00:00 2001 From: anon Date: Wed, 20 Aug 2025 23:17:32 +0200 Subject: dont waste my time --- lighttpd-cgi.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lighttpd-cgi.conf (limited to 'lighttpd-cgi.conf') 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" +) -- cgit v1.2.3