]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.conf
- sort BR
[packages/lighttpd.git] / lighttpd.conf
index 41f88b6a86d2cd901281411797934e2a4ecb5d60..c39e98e36b0022767534752d31937251ea00d80c 100644 (file)
 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",
 )
 
@@ -70,7 +71,7 @@ mimetype.assign = (
        ".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",
@@ -97,12 +98,19 @@ mimetype.assign = (
        ".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"
 
@@ -143,13 +151,19 @@ url.access-deny = ( "~", ".inc" )
 
 
 ##
-## 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() )
@@ -165,6 +179,17 @@ server.groupname           = "lighttpd"
 #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
@@ -265,6 +290,10 @@ server.groupname           = "lighttpd"
 #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" )
This page took 0.036728 seconds and 4 git commands to generate.