aboutsummaryrefslogtreecommitdiff
path: root/lighttpd-test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'lighttpd-test.conf')
-rw-r--r--lighttpd-test.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/lighttpd-test.conf b/lighttpd-test.conf
new file mode 100644
index 0000000..03dc5b0
--- /dev/null
+++ b/lighttpd-test.conf
@@ -0,0 +1,13 @@
+server.document-root = "/home/nathan/Documents/dev/shittyweb/xhtml/"
+server.port = 8000
+index-file.names = ("index.xhtml")
+server.error-handler-404 = "/error/404.xhtml"
+
+# Modules
+server.modules += ("mod_cgi")
+
+$HTTP["url"] =~ "^/cgi-bin" {
+ cgi.assign = ( "" => "" )
+}
+
+cgi.execute-x-only = "enable" \ No newline at end of file