summaryrefslogtreecommitdiff
path: root/package/lighttpd/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-02 18:42:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-02 18:42:33 +0100
commit62cf4f1ab7f29f156dd399516e2301dc78fc9bb6 (patch)
treef3481a17dbdf7a5bb659efe0a40474873cf03092 /package/lighttpd/files
parent52a49601ba47b77d93d4856f2ee01e55755905f1 (diff)
update mpdbox package collection, new lighttpd, kernel, php, mpd, mpc, libmpd, ffmpeg
Diffstat (limited to 'package/lighttpd/files')
-rw-r--r--package/lighttpd/files/conf.d/access_log.conf27
-rw-r--r--package/lighttpd/files/conf.d/auth.conf27
-rw-r--r--package/lighttpd/files/conf.d/cgi.conf33
-rw-r--r--package/lighttpd/files/conf.d/cml.conf27
-rw-r--r--package/lighttpd/files/conf.d/compress.conf31
-rw-r--r--package/lighttpd/files/conf.d/debug.conf47
-rw-r--r--package/lighttpd/files/conf.d/dirlisting.conf55
-rw-r--r--package/lighttpd/files/conf.d/evhost.conf22
-rw-r--r--package/lighttpd/files/conf.d/expire.conf22
-rw-r--r--package/lighttpd/files/conf.d/fastcgi.conf135
-rw-r--r--package/lighttpd/files/conf.d/geoip.conf26
-rw-r--r--package/lighttpd/files/conf.d/magnet.conf22
-rw-r--r--package/lighttpd/files/conf.d/mime.conf77
-rw-r--r--package/lighttpd/files/conf.d/mysql_vhost.conf47
-rw-r--r--package/lighttpd/files/conf.d/proxy.conf35
-rw-r--r--package/lighttpd/files/conf.d/rrdtool.conf21
-rw-r--r--package/lighttpd/files/conf.d/scgi.conf51
-rw-r--r--package/lighttpd/files/conf.d/secdownload.conf35
-rw-r--r--package/lighttpd/files/conf.d/simple_vhost.conf28
-rw-r--r--package/lighttpd/files/conf.d/ssi.conf16
-rw-r--r--package/lighttpd/files/conf.d/status.conf24
-rw-r--r--package/lighttpd/files/conf.d/trigger_b4_dl.conf70
-rw-r--r--package/lighttpd/files/conf.d/userdir.conf37
-rw-r--r--package/lighttpd/files/conf.d/webdav.conf33
24 files changed, 948 insertions, 0 deletions
diff --git a/package/lighttpd/files/conf.d/access_log.conf b/package/lighttpd/files/conf.d/access_log.conf
new file mode 100644
index 000000000..fe150749a
--- /dev/null
+++ b/package/lighttpd/files/conf.d/access_log.conf
@@ -0,0 +1,27 @@
+#######################################################################
+##
+## Corresponding documentation:
+##
+## http://www.lighttpd.net/documentation/access.html
+##
+server.modules += ( "mod_accesslog" )
+
+##
+## Default access log.
+##
+#accesslog.filename = log_root + "/access.log"
+
+##
+## The default format produces CLF compatible output.
+## For available parameters see access.txt
+##
+#accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\""
+
+##
+## If you want to log to syslog you have to unset the
+## accesslog.use-syslog setting and uncomment the next line.
+##
+accesslog.use-syslog = "enable"
+
+#
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/auth.conf b/package/lighttpd/files/conf.d/auth.conf
new file mode 100644
index 000000000..1d3d69c01
--- /dev/null
+++ b/package/lighttpd/files/conf.d/auth.conf
@@ -0,0 +1,27 @@
+#######################################################################
+##
+## Authentication Module
+## -----------------------
+##
+## See http://www.lighttpd.net/documentation/authentification.html
+## for more info.
+##
+
+#auth.backend = "plain"
+#auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
+#auth.backend.plain.groupfile = "/etc/lighttpd/lighttpd.group"
+
+#auth.backend.ldap.hostname = "localhost"
+#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
+#auth.backend.ldap.filter = "(uid=$)"
+
+#auth.require = ( "/server-status" =>
+# (
+# "method" => "digest",
+# "realm" => "Server Status",
+# "require" => "valid-user"
+# ),
+# )
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/cgi.conf b/package/lighttpd/files/conf.d/cgi.conf
new file mode 100644
index 000000000..ed2779999
--- /dev/null
+++ b/package/lighttpd/files/conf.d/cgi.conf
@@ -0,0 +1,33 @@
+#######################################################################
+##
+## CGI modules
+## ---------------
+##
+## http://www.lighttpd.net/documentation/cgi.html
+##
+server.modules += ( "mod_cgi" )
+
+##
+## Plain old CGI handling
+##
+## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
+##
+cgi.assign = ( ".pl" => "/usr/bin/perl",
+ ".cgi" => "/usr/bin/perl",
+ ".rb" => "/usr/bin/ruby",
+ ".erb" => "/usr/bin/eruby",
+ ".py" => "/usr/bin/python" )
+
+##
+## to get the old cgi-bin behavior of apache
+##
+## Note: make sure that mod_alias is loaded if you uncomment the
+## next line. (see modules.conf)
+##
+#alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
+#$HTTP["url"] =~ "^/cgi-bin" {
+# cgi.assign = ( "" => "" )
+#}
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/cml.conf b/package/lighttpd/files/conf.d/cml.conf
new file mode 100644
index 000000000..8054ea632
--- /dev/null
+++ b/package/lighttpd/files/conf.d/cml.conf
@@ -0,0 +1,27 @@
+#######################################################################
+##
+## CML Module
+## ---------------
+##
+## see http://www.lighttpd.net/documentation/cml.html
+##
+server.modules += ( "mod_cml" )
+index-file.names += ( "index.cml" )
+
+##
+## The file extension that is bound to the cml-module.
+##
+cml.extension = ".cml"
+
+##
+## Memcached hosts used for memcache* functions.
+##
+#cml.memcache-hosts = ( "127.0.0.1:11211" )
+
+##
+## A cml file that is executed for each request.
+##
+#cml.power-magnet = server_root + "/htdocs/powermagnet.cml"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/compress.conf b/package/lighttpd/files/conf.d/compress.conf
new file mode 100644
index 000000000..8ea4248cb
--- /dev/null
+++ b/package/lighttpd/files/conf.d/compress.conf
@@ -0,0 +1,31 @@
+#######################################################################
+##
+## Output Compression
+## --------------------
+##
+## see http://www.lighttpd.net/documentation/compress.html
+##
+server.modules += ( "mod_compress" )
+
+##
+## where should the compressed files be cached?
+## see the base config for the declaration of the variable.
+##
+## This directory should be changed per vhost otherwise you can
+## run into trouble with overlapping filenames
+##
+compress.cache-dir = cache_dir + "/compress"
+
+##
+## FileTypes to compress.
+##
+compress.filetype = ("text/plain", "text/html")
+
+##
+## Maximum filesize that will be compressed.
+## Default is 0, which means unlimited file size.
+##
+#compress.max-filesize = 0
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/debug.conf b/package/lighttpd/files/conf.d/debug.conf
new file mode 100644
index 000000000..80bbea00b
--- /dev/null
+++ b/package/lighttpd/files/conf.d/debug.conf
@@ -0,0 +1,47 @@
+#######################################################################
+##
+## Debug options
+## ---------------
+##
+## Enable those options for debugging the behavior
+##
+## The settings can be set per location/vhost.
+##
+
+##
+## log-request-handling allows you to track the request
+## handing inside lighttpd.
+##
+#debug.log-request-handling = "enable"
+
+##
+## log all request headers.
+##
+#debug.log-request-header = "enable"
+
+##
+## similar to log-request-header.
+## but only logs if we encountered an error.
+## (return codes 400 and 5xx)
+##
+#debug.log-request-header-on-error = "enable"
+
+##
+## log the header we send out to the client.
+##
+#debug.log-response-header = "enable"
+
+##
+## log if a file wasnt found in the error log.
+##
+#debug.log-file-not-found = "enable"
+
+##
+## debug conditionals handling
+##
+#debug.log-condition-handling = "enable"
+
+#
+#######################################################################
+
+
diff --git a/package/lighttpd/files/conf.d/dirlisting.conf b/package/lighttpd/files/conf.d/dirlisting.conf
new file mode 100644
index 000000000..53a18a266
--- /dev/null
+++ b/package/lighttpd/files/conf.d/dirlisting.conf
@@ -0,0 +1,55 @@
+#######################################################################
+##
+## Dirlisting Module
+## -------------------
+##
+## See http://www.lighttpd.net/documentation/dirlisting.html
+##
+
+##
+## Enabled Directory listing
+##
+dir-listing.activate = "disable"
+
+##
+## Hide dot files from the listing?
+## By default they are listed.
+##
+dir-listing.hide-dotfiles = "disable"
+
+##
+## list of regular expressions. Files that match any of the specified
+## regular expressions will be excluded from directory listings.
+##
+dir-listing.exclude = ( "~$" )
+
+##
+## set a encoding for the generated directory listing
+##
+## If you file-system is not using ASCII you have to set the encoding of
+## the filenames as they are put into the HTML listing AS IS (with XML
+## encoding)
+##
+dir-listing.encoding = "UTF-8"
+
+##
+## Specify the url to an optional CSS file.
+##
+#dir-listing.external-css = "/dirindex.css"
+
+##
+## Include HEADER.txt files above the directory listing.
+## You can disable showing the HEADER.txt in the listing.
+##
+dir-listing.hide-header-file = "disable"
+dir-listing.show-header = "disable"
+
+##
+## Include README.txt files above the directory listing.
+## You can disable showing the README.txt in the listing.
+##
+dir-listing.hide-readme-file = "disable"
+dir-listing.show-readme = "disable"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/evhost.conf b/package/lighttpd/files/conf.d/evhost.conf
new file mode 100644
index 000000000..6da89c1fa
--- /dev/null
+++ b/package/lighttpd/files/conf.d/evhost.conf
@@ -0,0 +1,22 @@
+#######################################################################
+##
+## Enhanced virtual hosting
+## --------------------------
+##
+## See http://www.lighttpd.net/documentation/evhost.html
+##
+server.modules += ( "mod_evhost" )
+
+##
+## 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 = vhosts_dir + "/%3/htdocs/"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/expire.conf b/package/lighttpd/files/conf.d/expire.conf
new file mode 100644
index 000000000..0ca0ab23f
--- /dev/null
+++ b/package/lighttpd/files/conf.d/expire.conf
@@ -0,0 +1,22 @@
+#######################################################################
+##
+## Expire Module
+## ---------------
+##
+## See http://www.lighttpd.net/documentation/expire.html
+##
+server.modules += ( "mod_expire" )
+
+##
+## assignes a expiration to all files below the specified path. The
+## specification of the time is made up of:
+##
+## <access|modification> <number> <years|months|days|hours|minutes|seconds>
+##
+#expire.url = (
+# "/buggy/" => "access 2 hours",
+# "/images/" => "access plus 1 seconds 2 minutes"
+#)
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/fastcgi.conf b/package/lighttpd/files/conf.d/fastcgi.conf
new file mode 100644
index 000000000..fa9317f54
--- /dev/null
+++ b/package/lighttpd/files/conf.d/fastcgi.conf
@@ -0,0 +1,135 @@
+#######################################################################
+##
+## FastCGI Module
+## ---------------
+##
+## http://www.lighttpd.net/documentation/fastcgi.html
+##
+server.modules += ( "mod_fastcgi" )
+
+##
+## PHP Example
+## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
+##
+## The number of php processes you will get can be easily calculated:
+##
+## num-procs = max-procs * ( 1 + PHP_FCGI_CHILDREN )
+##
+## for the php-num-procs example it means you will get 17*5 = 85 php
+## processes. you always should need this high number for your very
+## busy sites. And if you have a lot of RAM. :)
+##
+#fastcgi.server = ( ".php" =>
+# ( "php-local" =>
+# (
+# "socket" => socket_dir + "/php-fastcgi-1.socket",
+# "bin-path" => server_root + "/cgi-bin/php5",
+# "max-procs" => 1,
+# "broken-scriptfilename" => "enable",
+# )
+# ),
+# ( "php-tcp" =>
+# (
+# "host" => "127.0.0.1",
+# "port" => 9999,
+# "check-local" => "disable",
+# "broken-scriptfilename" => "enable",
+# )
+# ),
+#
+# ( "php-num-procs" =>
+# (
+# "socket" => socket_dir + "/php-fastcgi-2.socket",
+# "bin-path" => server_root + "/cgi-bin/php5",
+# "bin-environment" => (
+# "PHP_FCGI_CHILDREN" => "16",
+# "PHP_FCGI_MAX_REQUESTS" => "10000",
+# ),
+# "max-procs" => 5,
+# "broken-scriptfilename" => "enable",
+# )
+# ),
+# )
+
+##
+## Ruby on Rails Example
+##
+## Normally you only run one Rails application on one vhost.
+##
+#$HTTP["host"] == "rails1.example.com" {
+# server.document-root = server_root + "/rails/someapp/public"
+# server.error-handler-404 = "/dispatch.fcgi"
+# fastcgi.server = ( ".fcgi" =>
+# ("someapp" =>
+# ( "socket" => socket_dir + "/someapp-fcgi.socket",
+# "bin-path" => server_root + "/rails/someapp/public/dispatch.fcgi",
+# "bin-environment" => (
+# "RAILS_ENV" => "production",
+# "TMP" => home_dir + "/rails/someapp",
+# ),
+# )
+# )
+# )
+#}
+
+##
+## Another example with multiple rails applications on one vhost.
+##
+## http://blog.lighttpd.net/articles/2005/11/23/lighttpd-1-4-8-and-multiple-rails-apps
+##
+#$HTTP["host"] == "rails2.example.com" {
+# $HTTP["url"] =~ "^/someapp1" {
+# server.document-root = server_root + "/rails/someapp1/public"
+# server.error-handler-404 = "/dispatch.fcgi"
+# fastcgi.server = ( ".fcgi" =>
+# ("someapp1" =>
+# ( "socket" => socket_dir + "/someapp1-fcgi.socket",
+# "bin-path" => server_root + "/rails/someapp1/public/dispatch.fcgi",
+# "bin-environment" => (
+# "RAILS_ENV" => "production",
+# "TMP" => home_dir + "/rails/someapp1",
+# ),
+# "strip-request-uri" => "/someapp1/"
+# )
+# )
+# )
+# }
+#
+# $HTTP["url"] =~ "^/someapp2" {
+# server.document-root = server_root + "/rails/someapp2/public"
+# server.error-handler-404 = "/dispatch.fcgi"
+# fastcgi.server = ( ".fcgi" =>
+# ("someapp2" =>
+# ( "socket" => socket_dir + "/someapp2-fcgi.socket",
+# "bin-path" => server_root + "/rails/someapp2/public/dispatch.fcgi",
+# "bin-environment" => (
+# "RAILS_ENV" => "production",
+# "TMP" => home_dir + "/rails/someapp2",
+# ),
+# "strip-request-uri" => "/someapp2/"
+# )
+# )
+# )
+# }
+#}
+
+## chrooted webserver + external PHP
+##
+## $ spawn-fcgi -f /usr/bin/php-cgi -p 2000 -a 127.0.0.1 -C 8
+##
+## webserver chrooted to /srv/www/
+## php running outside the chroot
+#
+fastcgi.server = (
+ ".php" => ((
+ "host" => "127.0.0.1",
+ "port" => "2000",
+ "docroot" => "/srv/www/htdocs/"
+)))
+#
+#server.chroot = "/srv/www"
+#server.document-root = "/servers/wwww.example.org/htdocs/"
+#
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/geoip.conf b/package/lighttpd/files/conf.d/geoip.conf
new file mode 100644
index 000000000..5b5b28b69
--- /dev/null
+++ b/package/lighttpd/files/conf.d/geoip.conf
@@ -0,0 +1,26 @@
+#######################################################################
+##
+## GeoIP Module
+## ---------------
+##
+## mod_geoip is a module for fast ip/location lookups. It uses MaxMind
+## GeoIP / GeoCity databases. If the ip was found in the database the
+## module sets the appropriate environments variables to the request,
+## thus making other modules/fcgi be informed.
+##
+server.modules += ( "mod_geoip" )
+
+##
+## mod_geoip will determine the database type automatically so if you
+## enter GeoCity databse path it will load GeoCity Env.
+##
+#geoip.db-filename = "/path/to/GeoCityLite.dat"
+
+##
+## If enabled, mod_geoip will load the database binary file to memory
+## for very fast lookups. The only penalty is memory usage.
+##
+#geoip.memory-cache = "disable"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/magnet.conf b/package/lighttpd/files/conf.d/magnet.conf
new file mode 100644
index 000000000..1ebf529bc
--- /dev/null
+++ b/package/lighttpd/files/conf.d/magnet.conf
@@ -0,0 +1,22 @@
+#######################################################################
+##
+## Magnet Module
+## ---------------
+##
+## see http://trac.lighttpd.net/trac/wiki/Docs%3AModMagnet
+##
+server.modules += ( "mod_magnet" )
+
+##
+##
+##
+#magnet.attract-raw-url-to = ( )
+
+##
+## as an example for that see the mod_magnet docs and
+## http://pixel.global-banlist.de./
+##
+#magnet.attract-physical-path-to = ( conf_dir + "/cleanurl.lua" )
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/mime.conf b/package/lighttpd/files/conf.d/mime.conf
new file mode 100644
index 000000000..a3c6f0c32
--- /dev/null
+++ b/package/lighttpd/files/conf.d/mime.conf
@@ -0,0 +1,77 @@
+#######################################################################
+##
+## MimeType handling
+## -------------------
+##
+## http://www.lighttpd.net/documentation/configuration.html#mimetypes
+##
+## Use the "Content-Type" extended attribute to obtain mime type if
+## possible
+##
+mimetype.use-xattr = "disable"
+
+##
+## mimetype mapping
+##
+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" => "application/ogg",
+ ".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",
+ ".cpp" => "text/plain",
+ ".log" => "text/plain",
+ ".conf" => "text/plain",
+ ".text" => "text/plain",
+ ".txt" => "text/plain",
+ ".spec" => "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",
+ ".bz2" => "application/x-bzip",
+ ".tbz" => "application/x-bzip-compressed-tar",
+ ".tar.bz2" => "application/x-bzip-compressed-tar",
+ ".rpm" => "application/x-rpm",
+ # make the default mime type application/octet-stream.
+ "" => "application/octet-stream",
+ )
+
+
+#
+#######################################################################
+
diff --git a/package/lighttpd/files/conf.d/mysql_vhost.conf b/package/lighttpd/files/conf.d/mysql_vhost.conf
new file mode 100644
index 000000000..63550c4e4
--- /dev/null
+++ b/package/lighttpd/files/conf.d/mysql_vhost.conf
@@ -0,0 +1,47 @@
+#######################################################################
+##
+## Virtual hosting with MySQL
+## ----------------------------
+##
+## http://www.lighttpd.net/documentation/mysqlvhost.html
+##
+server.modules += ( "mod_mysql_vhost" )
+
+##
+## Either set the the socket or host (and port)
+##
+## Local path to the mysql socket
+##
+#mysql-vhost.sock = "/var/lib/mysql/mysql.sock"
+
+##
+## Host of the MySQL server.
+##
+#mysql-vhost.hostname = "localhost"
+
+##
+## Optional: port to use.
+##
+#mysql-vhost.port = 3306
+
+##
+## Name of the database
+##
+mysql-vhost.db = "lighttpd"
+
+##
+## SQL User/Password for the connection
+##
+mysql-vhost.user = "lighttpd"
+mysql-vhost.pass = "secret"
+
+##
+## The query to get the needed informations from the database.
+##
+## It doesnt matter how you name the fields the first field is always used
+## as the document root.
+##
+mysql-vhost.sql = "SELECT docroot FROM domains WHERE domain='?'"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/proxy.conf b/package/lighttpd/files/conf.d/proxy.conf
new file mode 100644
index 000000000..f0552c215
--- /dev/null
+++ b/package/lighttpd/files/conf.d/proxy.conf
@@ -0,0 +1,35 @@
+#######################################################################
+##
+## Proxy Module
+## ---------------
+##
+## http://www.lighttpd.net/documentation/proxy.html
+##
+server.modules += ( "mod_proxy" )
+
+##
+## a value between 0 and 65535 to set the debug-level in the Proxy module.
+## Currently only 0 and 1 are used. Use 1 to enable some debug output, 0 to
+## disable it.
+##
+#proxy.debug = 1
+
+##
+## might be one of 'hash', 'round-robin' or 'fair' (default).
+##
+#proxy.balance = "fair"
+
+##
+## Handle all jsp requests via 192.168.0.101
+##
+#proxy.server = ( ".jsp" =>
+# ( "tomcat" =>
+# (
+# "host" => "192.168.0.101",
+# "port" => 80
+# )
+# )
+# )
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/rrdtool.conf b/package/lighttpd/files/conf.d/rrdtool.conf
new file mode 100644
index 000000000..c29013bde
--- /dev/null
+++ b/package/lighttpd/files/conf.d/rrdtool.conf
@@ -0,0 +1,21 @@
+#######################################################################
+##
+## RRD Tool Module
+## -----------------
+##
+## see http://www.lighttpd.net/documentation/rrdtool.html
+##
+server.modules += ( "mod_rrdtool" )
+
+##
+## Path to the rrdtool binary.
+##
+rrdtool.binary = "/usr/bin/rrdtool"
+
+##
+## Path to the rrdtool database. You can override this in conditionals.
+##
+rrdtool.db-name = "/var/lib/lighttpd/lighttpd.rrd"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/scgi.conf b/package/lighttpd/files/conf.d/scgi.conf
new file mode 100644
index 000000000..3fcf280f2
--- /dev/null
+++ b/package/lighttpd/files/conf.d/scgi.conf
@@ -0,0 +1,51 @@
+#######################################################################
+##
+## FastCGI Module
+## ---------------
+##
+## http://www.lighttpd.net/documentation/scgi.html
+##
+server.modules += ( "mod_scgi" )
+
+##
+## Ruby on Rails Example
+##
+## Normally you only run one Rails application on one vhost.
+##
+#$HTTP["host"] == "rails1.example.com" {
+# server.document-root = server_root + "/rails/someapp/public"
+# server.error-handler-404 = "/dispatch.fcgi"
+# scgi.server = ( ".scgi" =>
+# ("scgi-someapp" =>
+# ( "socket" => socket_dir + "/someapp-scgi.socket",
+# "bin-path" => server_root + "/rails/someapp/public/dispatch.scgi",
+# "bin-environment" => (
+# "RAILS_ENV" => "production",
+# "TMP" => home_dir + "/rails/someapp",
+# ),
+# )
+# )
+# )
+#}
+
+##
+## 2nd Ruby on Rails Example
+##
+## This time we launch the rails application via scgi_rails externally.
+##
+#$HTTP["host"] == "rails2.example.com" {
+# server.document-root = server_root + "/rails/someapp/public"
+# server.error-handler-404 = "/dispatch.scgi"
+# scgi.server = ( ".scgi" =>
+# ( "scgi-tcp" =>
+# (
+# "host" => "127.0.0.1",
+# "port" => 9998,
+# "check-local" => "disable",
+# )
+# )
+# )
+#}
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/secdownload.conf b/package/lighttpd/files/conf.d/secdownload.conf
new file mode 100644
index 000000000..2d4d11a8b
--- /dev/null
+++ b/package/lighttpd/files/conf.d/secdownload.conf
@@ -0,0 +1,35 @@
+#######################################################################
+##
+## Secure Download Module
+## ------------------------
+##
+## see http://www.lighttpd.net/documentation/secdownload.html
+##
+server.modules += ( "mod_secdownload" )
+
+##
+## Document root for the download area.
+## The directory should not be below your normal
+## document root!
+##
+#secdownload.document-root = server_root + "/downloads"
+
+##
+## Secret string that will be used for the checksum calculation.
+##
+#secdownload.secret = ""
+
+##
+## How long is the secret valid?
+##
+## Default: 60 seconds
+##
+#secdownload.timeout = 60
+
+##
+## Prefix for the download area.
+##
+#secdownload.uri-prefix = "/download/"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/simple_vhost.conf b/package/lighttpd/files/conf.d/simple_vhost.conf
new file mode 100644
index 000000000..220331e02
--- /dev/null
+++ b/package/lighttpd/files/conf.d/simple_vhost.conf
@@ -0,0 +1,28 @@
+#######################################################################
+##
+## Simple Virtual hosting
+## ------------------------
+##
+## http://www.lighttpd.net/documentation/simple-vhost.html
+##
+server.modules += ( "mod_simple_vhost" )
+
+## If you want name-based virtual hosting add the next three settings and load
+## mod_simple_vhost
+##
+## document-root =
+## virtual-server-root + virtual-server-default-host + virtual-server-docroot
+## or
+## virtual-server-root + http-host + virtual-server-docroot
+##
+simple-vhost.server-root = vhosts_dir + "/"
+simple-vhost.default-host = "default.example.com"
+simple-vhost.document-root = "/htdocs/"
+
+##
+## Print some errors for finding the document-root
+##
+#simple-vhost.debug = "enable"
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/ssi.conf b/package/lighttpd/files/conf.d/ssi.conf
new file mode 100644
index 000000000..a82d1a5b6
--- /dev/null
+++ b/package/lighttpd/files/conf.d/ssi.conf
@@ -0,0 +1,16 @@
+#######################################################################
+##
+## Server Side Includes
+## -----------------------
+##
+## see /usr/share/doc/packages/lighttpd/ssi.html
+##
+server.modules += ( "mod_ssi" )
+
+##
+## which extensions should be ran through mod_ssi.
+##
+ssi.extension = ( ".shtml" )
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/status.conf b/package/lighttpd/files/conf.d/status.conf
new file mode 100644
index 000000000..946939f49
--- /dev/null
+++ b/package/lighttpd/files/conf.d/status.conf
@@ -0,0 +1,24 @@
+#######################################################################
+##
+## Status Module
+## ---------------
+##
+## see http://www.lighttpd.net/documentation/status.html
+##
+server.modules += ( "mod_status" )
+
+$HTTP["remoteip"] == "127.0.0.0/8" {
+##
+## configure urls for the various parts of the module.
+##
+ status.status-url = "/server-status"
+ status.config-url = "/server-config"
+ status.statistics-url = "/server-statistics"
+##
+## add JavaScript which allows client-side sorting for the connection
+## overview
+##
+ status.enable-sort = "enable"
+}
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/trigger_b4_dl.conf b/package/lighttpd/files/conf.d/trigger_b4_dl.conf
new file mode 100644
index 000000000..1efd3fdbd
--- /dev/null
+++ b/package/lighttpd/files/conf.d/trigger_b4_dl.conf
@@ -0,0 +1,70 @@
+#######################################################################
+##
+## Trigger before download
+## ---------------
+##
+## - if user requests ''download-url'' directly, the request is denied
+## and he is redirected to ''deny-url'
+## - if user visits ''trigger-url'' before requesting ''download-url'',
+## access is granted
+## - if user visits ''download-url'' again after ''trigger-timeout'' has
+## elapsed, the request is denied and he is redirected to ''deny-url''
+##
+## http://www.lighttpd.net/documentation/trigger_b4_dl.html
+##
+server.modules += ( "mod_mod_trigger_b4_dl" )
+
+##
+## To store the trigger state you can either use a local GDBM
+## file or memcached(s).
+##
+
+##
+## Path to the local GDBM file.
+##
+trigger-before-download.gdbm-filename = home_dir + "/trigger.db"
+
+##
+## List of memcached servers.
+##
+#trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
+
+##
+## URL prefix a visitor has to visit before downloading is allowed
+##
+trigger-before-download.trigger-url = "^/trigger/"
+
+##
+## URL Prefix of the proteced area.
+##
+trigger-before-download.download-url = "^/download/"
+
+##
+##
+## The deny url.
+##
+trigger-before-download.deny-url = "http://www.example.com/index.html"
+
+##
+## How long the "ticket" of the user will be valid.
+##
+## Value in seconds.
+##
+trigger-before-download.trigger-timeout = 10
+
+##
+## Normally the memcached key will be the remote ip of the request
+## If you store other data in the memcached aswell and want to avoid
+## key collisions you can configure a memcache-namespace.
+##
+## The key for the request will be memcache-namespace + remote_ip than.
+##
+#trigger-before-download.memcache-namespace = "t4bdl_"
+
+##
+## If set to 1, the module will log some debug informations.
+##
+#trigger-before-download.debug = 0
+
+##
+#######################################################################
diff --git a/package/lighttpd/files/conf.d/userdir.conf b/package/lighttpd/files/conf.d/userdir.conf
new file mode 100644
index 000000000..1e3691e1a
--- /dev/null
+++ b/package/lighttpd/files/conf.d/userdir.conf
@@ -0,0 +1,37 @@
+#######################################################################
+##
+## Userdir Module
+## ----------------
+##
+## for all details see:
+## http://www.lighttpd.net/documentation/userdir.html
+##
+server.modules += ( "mod_userdir" )
+
+##
+## usually it should be set to "public_html" to take ~/public_html/ as
+## the document root
+## Default: empty (document root is the home directory)
+##
+userdir.path = "public_html"
+
+##
+## If set, don't check /etc/passwd for homedir
+## Default: empty
+#userdir.basepath = server_root + "/users/"
+
+##
+## list of usernames which may not use this feature
+## Default: empty (all users may use it)
+##
+#userdir.exclude-user = ( "root", "postmaster" )
+
+##
+## if set, only users from this list may use the feature
+## Default: empty (all users may use it)
+##
+#userdir.include-user = ("user1", "user2")
+
+##
+#######################################################################
+
diff --git a/package/lighttpd/files/conf.d/webdav.conf b/package/lighttpd/files/conf.d/webdav.conf
new file mode 100644
index 000000000..2c373357c
--- /dev/null
+++ b/package/lighttpd/files/conf.d/webdav.conf
@@ -0,0 +1,33 @@
+#######################################################################
+##
+## WebDAV Module
+## ---------------
+##
+## http://www.lighttpd.net/documentation/webdav.html
+##
+server.modules += ( "mod_webdav" )
+
+$HTTP["url"] =~ "^/dav($|/)" {
+ ##
+ ## enable webdav for this location
+ ##
+ webdav.activate = "enable"
+
+ ##
+ ## By default the webdav url is writable.
+ ## Uncomment the following line if you want to make it readonly.
+ ##
+ #webdav.is-readonly = "enable"
+
+ ##
+ ## Log the XML Request bodies for debugging
+ ##
+ #webdav.log-xml = "disable"
+
+ ##
+ ##
+ ##
+ webdav.sqlite-db-name = home_dir + "/webdav.db"
+}
+##
+#######################################################################