evhost.conf 559 B

12345678910111213141516171819202122
  1. #######################################################################
  2. ##
  3. ## Enhanced virtual hosting
  4. ## --------------------------
  5. ##
  6. ## See http://www.lighttpd.net/documentation/evhost.html
  7. ##
  8. server.modules += ( "mod_evhost" )
  9. ##
  10. ## define a pattern for the host url finding
  11. ## %% => % sign
  12. ## %0 => domain name + tld
  13. ## %1 => tld
  14. ## %2 => domain name without tld
  15. ## %3 => subdomain 1 name
  16. ## %4 => subdomain 2 name
  17. ##
  18. evhost.path-pattern = vhosts_dir + "/%3/htdocs/"
  19. ##
  20. #######################################################################