summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-02-16 15:11:28 +0000
committerJan Kneschke <jan@kneschke.de>2006-02-16 15:11:28 +0000
commit2fb8b8f3b6f5b9ab73e65add1fffe1c3c3143c47 (patch)
tree66cadbb2ac7961816125f8da48a518ba2f400f9a /doc
parent9458b8cf658e992ce84884cca0b315afd255d558 (diff)
downloadlighttpd-git-2fb8b8f3b6f5b9ab73e65add1fffe1c3c3143c47.tar.gz
added docs for evhost (fixes #454)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1004 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am6
-rw-r--r--doc/evhost.txt45
2 files changed, 49 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4343a70c..7d2359eb 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,7 +34,8 @@ cml.txt \
trigger_b4_dl.txt \
webdav.txt \
expire.txt \
-dirlisting.txt
+dirlisting.txt \
+evhost.txt
HTMLDOCS=accesslog.html \
authentication.html \
@@ -69,7 +70,8 @@ HTMLDOCS=accesslog.html \
trigger_b4_dl.html \
webdav.html \
expire.html \
- dirlisting.html
+ dirlisting.html \
+ evhost.txt
EXTRA_DIST=lighttpd.conf lighttpd.user \
rc.lighttpd rc.lighttpd.redhat sysconfig.lighttpd \
diff --git a/doc/evhost.txt b/doc/evhost.txt
new file mode 100644
index 00000000..9e79b03d
--- /dev/null
+++ b/doc/evhost.txt
@@ -0,0 +1,45 @@
+========================
+Enhanced Virtual-Hosting
+========================
+
+------------------
+Module: mod_evhost
+------------------
+
+:Author: Jan Kneschke
+:Date: $Date: 2004/08/29 09:43:49 $
+:Revision: $Revision: 1.1 $
+
+:abstract:
+ virtual hosting
+
+.. meta::
+ :keywords: lighttpd, virtual hosting
+
+.. contents:: Table of Contents
+
+Description
+===========
+
+mod_evhost builds the document-root based on a pattern which contains
+wildcards. Those wildcards can represent parts if the submitted hostname
+
+
+::
+
+ %% => % sign
+ %0 => domain name + tld
+ %1 => tld
+ %2 => domain name without tld
+ %3 => subdomain 1 name
+ %4 => subdomain 2 name
+
+ evhost.path-pattern = "/home/www/servers/%3/pages/"
+
+Options
+=======
+
+evhost.path-pattern
+ pattern with wildcards to be replace to build a documentroot
+
+