summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/conf.d/evhost.conf
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/conf.d/evhost.conf
parent52a49601ba47b77d93d4856f2ee01e55755905f1 (diff)
update mpdbox package collection, new lighttpd, kernel, php, mpd, mpc, libmpd, ffmpeg
Diffstat (limited to 'package/lighttpd/files/conf.d/evhost.conf')
-rw-r--r--package/lighttpd/files/conf.d/evhost.conf22
1 files changed, 22 insertions, 0 deletions
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/"
+
+##
+#######################################################################