diff options
author | Olaf van der Spek <olafvdspek@gmail.com> | 2010-06-03 15:40:47 +0000 |
---|---|---|
committer | Olaf van der Spek <olafvdspek@gmail.com> | 2010-06-03 15:40:47 +0000 |
commit | 7baecf341ef74c509008bd3aa062fc20ee4b0713 (patch) | |
tree | 0da001644818d77c9b1f5bc91a9c59a04e713849 | |
parent | 181367da0745e79a20e47738bf8582b2b49f8700 (diff) | |
download | lighttpd-7baecf341ef74c509008bd3aa062fc20ee4b0713.tar.gz |
Clean up lighttpd.conf
-rw-r--r-- | debian/lighttpd.conf | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/debian/lighttpd.conf b/debian/lighttpd.conf index 9312aa0..b76de47 100644 --- a/debian/lighttpd.conf +++ b/debian/lighttpd.conf @@ -22,42 +22,32 @@ url.access-deny = ( "~", ".inc" ) ## Use the "Content-Type" extended attribute to obtain mime type if possible # mimetype.use-xattr = "enable" -## -# which extensions should not be handle via static-file transfer -# -# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) ## Use ipv6 if available include_shell "/usr/share/lighttpd/use-ipv6.pl" # server.port = 81 +# server.bind = "localhost" -## bind to localhost only (default: all interfaces) -## server.bind = "localhost" +# server.error-handler-404 = "/error-handler.html" +# server.error-handler-404 = "/error-handler.php" -## error-handler for status 404 -#server.error-handler-404 = "/error-handler.html" -#server.error-handler-404 = "/error-handler.php" +server.pid-file = "/var/run/lighttpd.pid" -server.pid-file = "/var/run/lighttpd.pid" - -## ## Format: <errorfile-prefix><status>.html ## -> ..../status-404.html for 'File not found' -#server.errorfile-prefix = "/var/www/" +#server.errorfile-prefix = "/var/www" -## virtual directory listings dir-listing.encoding = "utf-8" server.dir-listing = "enable" -server.username = "www-data" -server.groupname = "www-data" +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" ) -#### external configuration files ## mimetype mapping include_shell "/usr/share/lighttpd/create-mime.assign.pl" |