summaryrefslogtreecommitdiff
path: root/doc/config/conf.d/evhost.conf
blob: 8d2c0916e595ac96ad5cf6e13abcbebbcdf923a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#######################################################################
##
##  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
## %_ => full domain name
## %{M.N} => single character at 1-indexed position N in the domain segment %M (e.g %0 - %9)
##
evhost.path-pattern        = vhosts_dir + "/%3/htdocs/"

##
#######################################################################