summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/conf.d/evhost.conf
diff options
context:
space:
mode:
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/"
+
+##
+#######################################################################