diff options
author | Olaf van der Spek <olafvdspek@gmail.com> | 2010-09-10 12:14:35 +0000 |
---|---|---|
committer | Olaf van der Spek <olafvdspek@gmail.com> | 2010-09-10 12:14:35 +0000 |
commit | e0c209d50688bc9dea8c690769fef7529993753c (patch) | |
tree | b7ffb2c69f4eb7c55c9f9ee6bfb868b458ed6187 | |
parent | 43e94f9e6e177135789fdac31aed7fcc1364dff3 (diff) | |
download | lighttpd-e0c209d50688bc9dea8c690769fef7529993753c.tar.gz |
Clean up lighttpd.conf
-rw-r--r-- | debian/lighttpd.conf | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/debian/lighttpd.conf b/debian/lighttpd.conf index e1499fe..84ef663 100644 --- a/debian/lighttpd.conf +++ b/debian/lighttpd.conf @@ -12,6 +12,9 @@ server.modules = ( server.document-root = "/var/www" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" +server.pid-file = "/var/run/lighttpd.pid" +server.username = "www-data" +server.groupname = "www-data" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", @@ -27,27 +30,11 @@ include_shell "/usr/share/lighttpd/use-ipv6.pl" # server.port = 81 # server.bind = "localhost" -# server.error-handler-404 = "/error-handler.html" -# server.error-handler-404 = "/error-handler.php" - -server.pid-file = "/var/run/lighttpd.pid" - -## Format: <errorfile-prefix><status>.html -## -> ..../status-404.html for 'File not found' -#server.errorfile-prefix = "/var/www" - dir-listing.encoding = "utf-8" server.dir-listing = "enable" -server.username = "www-data" -server.groupname = "www-data" - compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" ) -## mimetype mapping include_shell "/usr/share/lighttpd/create-mime.assign.pl" - -## load enabled configuration files, -## read /etc/lighttpd/conf-available/README first include_shell "/usr/share/lighttpd/include-conf-enabled.pl" |