server.modules = (
# "mod_rewrite",
# "mod_redirect",
+# "mod_alias",
"mod_access",
# "mod_auth",
# "mod_status",
+# "mod_setenv",
# "mod_fastcgi",
+# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
+# "mod_userdir",
# "mod_cgi",
# "mod_compress",
-# "mod_userdir",
-# "mod_alias",
# "mod_ssi",
# "mod_usertrack",
-# "mod_rrdtool",
# "mod_expire",
-# "mod_localizer",
-# "mod_proxy",
# "mod_secdownload",
+# "mod_rrdtool",
+# "mod_localizer",
"mod_accesslog",
)
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
- ".ogg" => "audio/x-wav",
+ ".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
- ".wmv" => "video/x-ms-wmv"
+ ".wmv" => "video/x-ms-wmv",
+ ".bz2" => "application/x-bzip",
+ ".tbz" => "application/x-bzip-compressed-tar",
+ ".tar.bz2" => "application/x-bzip-compressed-tar"
)
# Use the "Content-Type" extended attribute to obtain mime type if possible
#mimetype.use-xattr = "enable"
+## send a different Server: header
+## be nice and keep it at lighttpd
+#server.tag = "lighttpd"
+
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"
##
-## Format: <errorfile-prefix><status>.html
+## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for 'File not found'
#server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"
## virtual directory listings
#server.dir-listing = "enable"
+## enable debugging
+#debug.log-request-header = "enable"
+#debug.log-response-header = "enable"
+#debug.log-request-handling = "enable"
+#debug.log-file-not-found = "enable"
+
### only root can use these options
#
# chroot() to directory (default: no chroot() )
#compress.cache-dir = "/tmp/lighttpd/cache/compress/"
#compress.filetype = ("text/plain", "text/html")
+#### proxy module
+## read proxy.txt for more info
+#proxy.server = (
+# ".php" => (
+# "localhost" => (
+# "host" => "192.168.0.101",
+# "port" => 80,
+# )
+# )
+#)
+
#### fastcgi module
## read fastcgi.txt for more info
#fastcgi.debug = 1
#rrdtool.binary = "/usr/bin/rrdtool"
#rrdtool.db-name = "/var/www/lighttpd.rrd"
+#### setenv
+#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
+#setenv.add-response-header = ( "X-Secret-Message" => "42" )
+
#### userdir module
#userdir.path = "public_html"
#userdir.exclude-user = ( "root", "postmaster" )