1####################################################################### 2## 3## Enhanced virtual hosting 4## -------------------------- 5## 6## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModEVhost 7## 8server.modules += ( "mod_evhost" ) 9 10## 11## define a pattern for the host url finding 12## %% => % sign 13## %0 => domain name + tld 14## %1 => tld 15## %2 => domain name without tld 16## %3 => subdomain 1 name 17## %4 => subdomain 2 name 18## %_ => full domain name 19## %{M.N} => single character at 1-indexed position N in the domain segment %M (e.g %0 - %9) 20## 21evhost.path-pattern = vhosts_dir + "/%3/htdocs/" 22 23## 24####################################################################### 25