+# Access module.
+#
+# Documentation: http://www.lighttpd.net/documentation/access.html
+
server.modules += (
"mod_access"
)
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( "~", ".inc" )
-
-#### accesslog module
+# accesslog module.
+#
+# Documentation: http://www.lighttpd.net/documentation/accesslog.html
server.modules += (
"mod_accesslog"
+# Alias module.
+#
+# Documentation: http://www.lighttpd.net/documentation/alias.html
+
server.modules += (
"mod_alias"
)
+# Auth module.
+#
+# Documentation: http://www.lighttpd.net/documentation/authentication.html
+
server.modules += (
"mod_auth"
)
# "require" => "valid-user"
# )
#)
-
# CGI module
+#
# http://www.lighttpd.net/documentation/cgi.html
server.modules += (
-## CML is a Meta language to describe the dependencies of a page
-## at one side and building a page from its fragments on the
-## other side using LUA.
-##
-## Documentation: http://www.lighttpd.net/documentation/cml.html
+# CML is a Meta language to describe the dependencies of a page
+# at one side and building a page from its fragments on the
+# other side using LUA.
+#
+# Documentation: http://www.lighttpd.net/documentation/cml.html
server.modules += (
"mod_cml"
+# compress module.
+#
+# Documentation: http://www.lighttpd.net/documentation/compress.html
+
server.modules += (
"mod_compress"
)
+# Deflate module.
+#
+# Documentation: http://trac.lighttpd.net/trac/wiki/Mod_Deflate
+
server.modules += (
"mod_deflate"
)
-# virtual directory listings
+# Virtual directory listings.
#
+# Documentation: http://www.lighttpd.net/documentation/dirlisting.html
+
server.modules += (
"mod_dirlisting"
)
+# Evasive module.
+#
+
server.modules += (
"mod_evasive"
)
-#### evasive module
##
## Limits number of connections per IP
##
#evasive.max-conns-per-ip = 5
-
+# Enhanced virtual-hosting module.
+#
+# Documentation: http://www.lighttpd.net/documentation/evhost.html
+
server.modules += (
"mod_evhost"
)
# %4 => subdomain 2 name
#
#evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
-
+# Expires module.
+#
+# Documentation: http://www.lighttpd.net/documentation/expire.html
+
server.modules += (
"mod_expire"
)
-
-#### expire module
#expire.url = (
# "/buggy/" => "access 2 hours",
# "/asdhas/" => "access plus 1 seconds 2 minutes",
-## FastCGI programs have the same functionality as CGI programs,
-## but are considerably faster through lower interpreter startup
-## time and socketed communication
-##
-## Documentation: http://www.lighttpd.net/documentation/fastcgi.html
+# FastCGI programs have the same functionality as CGI programs,
+# but are considerably faster through lower interpreter startup
+# time and socketed communication
+#
+# Documentation: http://www.lighttpd.net/documentation/fastcgi.html
server.modules += (
"mod_fastcgi"
+# FLV streaming module.
+#
+
server.modules += (
"mod_flv_streaming"
)
+# indexfile module.
+#
+
server.modules += (
"mod_indexfile"
)
-
# files to check for if .../ is requested
server.indexfiles = (
"index.php",
-## Let lighttpd act as a proxy server for special file types, hosts etc
-##
-## Documentation: http://www.lighttpd.net/documentation/proxy.html
+# Let lighttpd act as a proxy server for special file types, hosts etc
+#
+# Documentation: http://www.lighttpd.net/documentation/proxy.html
server.modules += (
"mod_proxy"
# )
# )
#}
-#
+# Redirection module.
+#
+# Documentation: http://www.lighttpd.net/documentation/redirect.html
+
server.modules += (
"mod_redirect"
)
#$HTTP["host"] =~ "^www\.(.*)" {
# url.redirect = ( "^/(.*)" => "http://%1/$1" )
#}
-
+# Rewrite module.
+#
+# Documentation: http://www.lighttpd.net/documentation/rewrite.html
+
server.modules += (
"mod_rewrite"
)
+# rrdtool module.
+#
+# Documentation: http://www.lighttpd.net/documentation/rrdtool.html
+
server.modules += (
"mod_rrdtool"
)
#### rrdtool
rrdtool.binary = "/usr/bin/rrdtool"
#rrdtool.db-name = "/var/www/lighttpd.rrd"
-
+# SCGI module.
+#
+# Documentation: http://www.lighttpd.net/documentation/scgi.html
+
server.modules += (
"mod_scgi"
)
+# secure and fast downloading module.
+#
+# Documentation: http://www.lighttpd.net/documentation/secdownload.html
+
server.modules += (
"mod_secdownload"
)
+# setenv module.
+#
+# Documentation: http://www.lighttpd.net/documentation/setenv.html
+
server.modules += (
"mod_setenv"
)
+# staticfile module.
+#
+
server.modules += (
"mod_staticfile"
)
-##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
-
-# status module
+# Status module
+#
+# Documentation: http://www.lighttpd.net/documentation/status.html
server.modules += (
"mod_status"
+# usertrack module.
+#
+
server.modules += (
"mod_usertrack"
)
+# webdav module.
+#
+# Documentation: http://www.lighttpd.net/documentation/webdav.html
+
server.modules += (
"mod_webdav"
)