evhost.txt 851 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ========================
  2. Enhanced Virtual-Hosting
  3. ========================
  4. ------------------
  5. Module: mod_evhost
  6. ------------------
  7. :Author: Jan Kneschke
  8. :Date: $Date: 2004/08/29 09:43:49 $
  9. :Revision: $Revision: 1.1 $
  10. :abstract:
  11. virtual hosting
  12. .. meta::
  13. :keywords: lighttpd, virtual hosting
  14. .. contents:: Table of Contents
  15. Description
  16. ===========
  17. mod_evhost builds the document-root based on a pattern which contains
  18. wildcards. Those wildcards can represent parts if the submitted hostname
  19. ::
  20. %% => % sign
  21. %0 => domain name + tld
  22. %1 => tld
  23. %2 => domain name without tld
  24. %3 => subdomain 1 name
  25. %4 => subdomain 2 name
  26. %_ => the complete hostname (without port info)
  27. evhost.path-pattern = "/home/www/servers/%3/pages/"
  28. Options
  29. =======
  30. evhost.path-pattern
  31. pattern with wildcards to be replace to build a documentroot