summaryrefslogtreecommitdiff
path: root/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/evhost.conf
diff options
context:
space:
mode:
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/evhost.conf')
-rw-r--r--data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/evhost.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/evhost.conf b/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/evhost.conf
new file mode 100644
index 000000000..73530e7aa
--- /dev/null
+++ b/data/lighttpd/lighttpd-1.4.53/doc/config/conf.d/evhost.conf
@@ -0,0 +1,22 @@
+#######################################################################
+##
+## Enhanced virtual hosting
+## --------------------------
+##
+## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModEVhost
+##
+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/"
+
+##
+#######################################################################