lighttpd 1.4.x https://www.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
695 B

#######################################################################
##
## 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/"
##
#######################################################################