--- elwix/config/etc/default/lighttpd/conf.d/evhost.conf.sample 2013/10/14 15:19:38 1.1 +++ elwix/config/etc/default/lighttpd/conf.d/evhost.conf.sample 2014/01/05 23:14:24 1.2 @@ -0,0 +1,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/" + +## +#######################################################################