diff options
Diffstat (limited to 'lighttpd.conf')
-rw-r--r-- | lighttpd.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 0000000..cfd14f2 --- /dev/null +++ b/lighttpd.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | server.document-root = "/home/acdw/src/cacophony" | ||
2 | server.port = 3030 | ||
3 | server.username = "acdw" | ||
4 | server.groupname = "acdw" | ||
5 | |||
6 | index-file.names = ( "index.html", "cacophony.sh" ) | ||
7 | |||
8 | server.modules += ( "mod_cgi", "mod_rewrite" ) | ||
9 | cgi.assign = ( ".sh" => "" ) | ||
10 | url.rewrite-if-not-file = ( "" => "/cacophony.sh${url.path}${qsa}" ) | ||
11 | |||
12 | mimetype.assign += ( "" => "text/plain;charset=utf-8" ) \ No newline at end of file | ||