[pkg-lighttpd] r463 - lighttpd/trunk/debian
Olaf van der Spek
olafvdspek-guest at alioth.debian.org
Wed Jun 2 16:08:33 UTC 2010
Author: olafvdspek-guest
Date: 2010-06-02 16:08:28 +0000 (Wed, 02 Jun 2010)
New Revision: 463
Modified:
lighttpd/trunk/debian/lighttpd.conf
Log:
Clean up lighttpd.conf
Modified: lighttpd/trunk/debian/lighttpd.conf
===================================================================
--- lighttpd/trunk/debian/lighttpd.conf 2010-06-02 15:56:04 UTC (rev 462)
+++ lighttpd/trunk/debian/lighttpd.conf 2010-06-02 16:08:28 UTC (rev 463)
@@ -1,9 +1,3 @@
-# Debian lighttpd configuration file
-#
-
-############ Options you really have to take care of ####################
-
-## modules to load
server.modules = (
"mod_alias",
"mod_compress",
@@ -14,17 +8,10 @@
# "mod_evasive"
)
-## a static document-root, for virtual-hosting take look at the
-## server.virtual-* options
-server.document-root = "/var/www/"
-
-## where to upload files to, purged daily.
+server.document-root = "/var/www"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
-
-## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"
-## files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
"index.lighttpd.html" )
@@ -40,12 +27,9 @@
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
-######### Options that are good to be but not neccesary to be changed #######
-
-## Use ipv6 only if available. (disabled for while, check #560837)
+## Use ipv6 if available
include_shell "/usr/share/lighttpd/use-ipv6.pl"
-## bind to port (default: 80)
# server.port = 81
## bind to localhost only (default: all interfaces)
@@ -55,7 +39,6 @@
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"
-## to help the rc.scripts
server.pid-file = "/var/run/lighttpd.pid"
##
@@ -67,25 +50,12 @@
dir-listing.encoding = "utf-8"
server.dir-listing = "enable"
-### only root can use these options
-#
-# chroot() to directory (default: no chroot() )
-#server.chroot = "/"
-
-## change uid to <uid> (default: don't change)
server.username = "www-data"
-
-## change gid to <gid> (default: don't change)
server.groupname = "www-data"
-#### compress module
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ("text/plain", "text/html", "application/x-javascript", "text/css")
-#### url handling modules (rewrite, redirect, access)
-# url.rewrite = ( "^/$" => "/server-status" )
-# url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
-
#### external configuration files
## mimetype mapping
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
More information about the pkg-lighttpd-maintainers
mailing list