]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- updated to lighttpd-1.3.7
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Jan 2005 00:20:27 +0000 (00:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.conf -> 1.7

lighttpd.conf

index 084e676bf79d6203e00486baae76c2e356fc9a8a..4bfc160bb584e18ded0cf4aaa4c3759ce7188cca 100644 (file)
@@ -13,6 +13,7 @@
 # - saves memory
 server.modules              = ( 
 #                               "mod_rewrite", 
+#                               "mod_redirect", 
                                "mod_access", 
 #                              "mod_auth", 
 #                               "mod_status", 
@@ -21,8 +22,9 @@ server.modules              = (
 #                              "mod_evhost",
 #                              "mod_cgi",
 #                              "mod_compress",
-#                              "mod_user_dir",
-#                              "mod_alias",
+#                               "mod_ssi",
+#                               "mod_usertrack",
+#                              "mod_rrdtool",
                                "mod_accesslog" )
 
 ## a static document-root, for virtual-hosting take look at the 
@@ -37,23 +39,56 @@ server.indexfiles          = ( "index.php", "index.html",
                                 "index.htm", "default.htm" )
 
 # mimetype mapping
-mimetype.assign            = ( ".png"  => "image/png", 
-                                ".jpg"  => "image/jpeg",
-                                ".jpeg" => "image/jpeg",
-                                ".gif"  => "image/gif",
-                                ".html" => "text/html",
-                                ".htm"  => "text/html",
-                                ".pdf"  => "application/pdf",
-                                ".swf"  => "application/x-shockwave-flash",
-                                ".spl"  => "application/futuresplash",
-                                ".txt"  => "text/plain",
-                                ".tar.gz" =>   "application/x-tgz",
-                                ".tgz"  => "application/x-tgz",
-                                ".gz"   => "application/x-gzip",
-                               ".c"    => "text/plain",
-                               ".conf" => "text/plain" )
-
-# use "Content-Type" extended attribute for mime type if possible
+mimetype.assign            = (
+  ".pdf"          =>      "application/pdf",
+  ".sig"          =>      "application/pgp-signature",
+  ".spl"          =>      "application/futuresplash",
+  ".class"        =>      "application/octet-stream",
+  ".ps"           =>      "application/postscript",
+  ".torrent"      =>      "application/x-bittorrent",
+  ".dvi"          =>      "application/x-dvi",
+  ".gz"           =>      "application/x-gzip",
+  ".pac"          =>      "application/x-ns-proxy-autoconfig",
+  ".swf"          =>      "application/x-shockwave-flash",
+  ".tar.gz"       =>      "application/x-tgz",
+  ".tgz"          =>      "application/x-tgz",
+  ".tar"          =>      "application/x-tar",
+  ".zip"          =>      "application/zip",
+  ".mp3"          =>      "audio/mpeg",
+  ".m3u"          =>      "audio/x-mpegurl",
+  ".wma"          =>      "audio/x-ms-wma",
+  ".wax"          =>      "audio/x-ms-wax",
+  ".ogg"          =>      "audio/x-wav",
+  ".wav"          =>      "audio/x-wav",
+  ".gif"          =>      "image/gif",
+  ".jpg"          =>      "image/jpeg",
+  ".jpeg"         =>      "image/jpeg",
+  ".png"          =>      "image/png",
+  ".xbm"          =>      "image/x-xbitmap",
+  ".xpm"          =>      "image/x-xpixmap",
+  ".xwd"          =>      "image/x-xwindowdump",
+  ".css"          =>      "text/css",
+  ".html"         =>      "text/html",
+  ".htm"          =>      "text/html",
+  ".js"           =>      "text/javascript",
+  ".asc"          =>      "text/plain",
+  ".c"            =>      "text/plain",
+  ".conf"         =>      "text/plain",
+  ".text"         =>      "text/plain",
+  ".txt"          =>      "text/plain",
+  ".dtd"          =>      "text/xml",
+  ".xml"          =>      "text/xml",
+  ".mpeg"         =>      "video/mpeg",
+  ".mpg"          =>      "video/mpeg",
+  ".mov"          =>      "video/quicktime",
+  ".qt"           =>      "video/quicktime",
+  ".avi"          =>      "video/x-msvideo",
+  ".asf"          =>      "video/x-ms-asf",
+  ".asx"          =>      "video/x-ms-asf",
+  ".wmv"          =>      "video/x-ms-wmv"
+)
+
+# Use the "Content-Type" extended attribute to obtain mime type if possible
 # mimetype.use-xattr = "enable"
 
 #### accesslog module
@@ -76,6 +111,12 @@ url.access-deny             = ( "~", ".inc" )
 ## bind to localhost (default: all interfaces)
 #server.bind                = "grisu.home.kneschke.de"
 
+## error-handler for status 404
+#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"
 
 ###### virtual hosts
 ##
@@ -118,11 +159,12 @@ server.groupname           = "lighttpd"
 #compress.filetype           = ("text/plain", "text/html")
 
 #### fastcgi module
+## read fastcgi.txt for more info
 #fastcgi.server              = ( ".php" =>
-#                              ( "grisu" => 
+#                              ( "localhost" => 
 #                                ( 
-#                                  "host" => "192.168.2.10",
-#                                  "port" => 1026
+#                                  "socket" => "/tmp/php-fastcgi.socket",
+#                                  "bin-path" => "/usr/local/bin/php"
 #                                )
 #                              )
 #                            )
@@ -137,19 +179,20 @@ server.groupname           = "lighttpd"
 #ssl.pemfile                 = "server.pem"
 
 #### status module
-#status.rrd-reports          = "enable"
-#status.rrd-dir              = "/home/weigon/wwwroot/logs/"
+# status.status-url = "/server-status"
+# status.config-url = "/server-config"
 
 #### auth module
-#auth.backend                = "plain"
-#auth.backend.plain.userfile = "lighttpd.user"
-#auth.backend.plain.groupfile = "lighttpd.group"
+## read authentification.txt for more info
+# auth.backend                = "plain"
+# auth.backend.plain.userfile = "lighttpd.user"
+# auth.backend.plain.groupfile = "lighttpd.group"
 
-#auth.backend.ldap.hostname = "localhost"
-#auth.backend.ldap.base-dn  = "dc=my-domain,dc=com"
-#auth.backend.ldap.filter   = "(uid=$)"
+# auth.backend.ldap.hostname = "localhost"
+# auth.backend.ldap.base-dn  = "dc=my-domain,dc=com"
+# auth.backend.ldap.filter   = "(uid=$)"
 
-#auth.require                = ( "/server-status" => 
+# auth.require                = ( "/server-status" => 
 #                                ( 
 #                                "method"  => "digest",
 #                                "realm"   => "download archiv",
@@ -164,19 +207,35 @@ server.groupname           = "lighttpd"
 #                              )
 
 #### url handling modules (rewrite, redirect, access)
-#url.rewrite                 = ( "^/$"             => "/server-status" )
-#url.redirect                = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
+# url.rewrite                 = ( "^/$"             => "/server-status" )
+# url.redirect                = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
+
+# define a pattern for the host url finding
+# %% => % sign
+# %0 => domain name + tld
+# %1 => tld
+# %2 => domain name without tld
+# %3 => subdomain 1 name
+# %4 => subdomain 2 name
+#
+# evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
 
 #### expire module
-#expire.url                  = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
+# expire.url                  = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
+
+#### ssi
+# ssi.extension              = ( ".shtml" )
+
+#### rrdtool
+# rrdtool.binary = "/usr/bin/rrdtool"
+# rrdtool.db-name = "/var/www/lighttpd.rrd"
 
 #### userdir module
-#userdir.path = "public_html"
-#userdir.exclude-user = ( "root", "postmaster" )
+# userdir.path = "public_html"
+# userdir.exclude-user = ( "root", "postmaster" )
 #
 ## if set, only users from this list may use the feature
-#userdir.include-user = ""
+# userdir.include-user = ""
 
 #### alias module
-#alias.url = ( "/cgi-bin/" => "/var/www/servers/www.example.org/cgi-bin/" )
-
+# alias.url = ( "/cgi-bin/" => "/var/www/servers/www.example.org/cgi-bin/" )
This page took 1.016605 seconds and 4 git commands to generate.