aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'main/lighttpd/lighttpd.conf')
-rw-r--r--main/lighttpd/lighttpd.conf48
1 files changed, 11 insertions, 37 deletions
diff --git a/main/lighttpd/lighttpd.conf b/main/lighttpd/lighttpd.conf
index 076f53875f7..6d6e76afa90 100644
--- a/main/lighttpd/lighttpd.conf
+++ b/main/lighttpd/lighttpd.conf
@@ -18,8 +18,6 @@ server.modules = (
# "mod_redirect",
# "mod_alias",
"mod_access",
-# "mod_cml",
-# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
@@ -27,11 +25,9 @@ server.modules = (
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
-# "mod_compress",
+# "mod_deflate",
# "mod_ssi",
-# "mod_usertrack",
# "mod_expire",
-# "mod_secdownload",
# "mod_rrdtool",
# "mod_webdav",
"mod_accesslog"
@@ -59,18 +55,13 @@ server.errorlog = var.logdir + "/error.log"
# log errors to syslog instead
# server.errorlog-use-syslog = "enable"
-server.indexfiles = ("index.php", "index.html",
- "index.htm", "default.htm")
+index-file.names = ("index.php", "index.html", "index.htm", "default.htm")
# server.tag = "lighttpd"
-server.follow-symlink = "enable"
-
-# event handler (defaults to "poll")
+# event handler (defaults to OS-specific event framework)
# see performance.txt
#
-# for >= linux-2.4
-# server.event-handler = "linux-rtsig"
# for >= linux-2.6
# server.event-handler = "linux-sysepoll"
# for FreeBSD
@@ -93,9 +84,11 @@ server.follow-symlink = "enable"
# -> ..../status-404.html for 'File not found'
# server.errorfile-prefix = var.basedir + "/error/status-"
-# FAM support for caching stat() calls
-# requires that lighttpd be built with USE=fam
-# server.stat-cache-engine = "fam"
+# support for caching stat() calls (default "simple")
+# for Linux
+# server.stat-cache-engine = "inotify"
+# for FreeBSD
+# server.stat-cache-engine = "kqueue"
# }}}
# {{{ mod_staticfile
@@ -174,11 +167,11 @@ url.access-deny = ("~", ".inc")
# simple-vhost.document-root = "/pages/"
# }}}
-# {{{ mod_compress
+# {{{ mod_deflate
# see compress.txt
#
-# compress.cache-dir = var.statedir + "/cache/compress"
-# compress.filetype = ("text/plain", "text/html")
+# deflate.cache-dir = var.statedir + "/cache/compress"
+# deflate.mimetypes = ("text/plain", "text/html")
# }}}
# {{{ mod_proxy
@@ -269,25 +262,6 @@ url.access-deny = ("~", ".inc")
# setenv.add-response-header = ( "X-Secret-Message" => "42" )
# }}}
-# {{{ mod_trigger_b4_dl
-# see trigger_b4_dl.txt
-#
-# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
-# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
-# trigger-before-download.trigger-url = "^/trigger/"
-# trigger-before-download.download-url = "^/download/"
-# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
-# trigger-before-download.trigger-timeout = 10
-# }}}
-
-# {{{ mod_cml
-# see cml.txt
-#
-# don't forget to add index.cml to server.indexfiles
-# cml.extension = ".cml"
-# cml.memcache-hosts = ( "127.0.0.1:11211" )
-# }}}
-
# {{{ mod_webdav
# see webdav.txt
#