summaryrefslogtreecommitdiffhomepage
path: root/debian/webserver.example-cgi.conf
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-11 15:27:23 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-11 15:27:23 +0100
commite679b0241662ea7c1910b9fc02ed0cb8f59b0de6 (patch)
tree3ee941465c80f9331de48cb3230515fb27460305 /debian/webserver.example-cgi.conf
parent478e9f340fe303f3171f4184f494947bf39e3dbf (diff)
Test CGI
Diffstat (limited to 'debian/webserver.example-cgi.conf')
-rw-r--r--debian/webserver.example-cgi.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/webserver.example-cgi.conf b/debian/webserver.example-cgi.conf
new file mode 100644
index 0000000..99faa52
--- /dev/null
+++ b/debian/webserver.example-cgi.conf
@@ -0,0 +1,26 @@
+<webserver>
+ <user>www-data</user>
+ <group>www-data</group>
+ <threads>10</threads>
+ <statisticspath>/var/lib/webserver/stats.db</statisticspath>
+ <plugin-directory>/usr/lib/webserver/plugins</plugin-directory>
+ <sites>
+ <site>
+ <name>localhost</name>
+ <host>localhost</host>
+ <host>[::1]</host>
+ <path requested="/cgi-bin">
+ <plugin>cgi</plugin>
+ <target>/var/lib/webserver/cgi-bin</target>
+ </path>
+ </site>
+ </sites>
+ <sockets>
+ <socket>
+ <address>::1</address>
+ <port>8080</port>
+ <protocol>http</protocol>
+ <site>localhost</site>
+ </socket>
+ </sockets>
+</webserver>