summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/conf.d/evhost.conf
blob: 6da89c1fad01e9f24690db0d8ad750a506d70c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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/"

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