simple_vhost.conf 815 B

12345678910111213141516171819202122232425262728
  1. #######################################################################
  2. ##
  3. ## Simple Virtual hosting
  4. ## ------------------------
  5. ##
  6. ## http://www.lighttpd.net/documentation/simple-vhost.html
  7. ##
  8. server.modules += ( "mod_simple_vhost" )
  9. ## If you want name-based virtual hosting add the next three settings and load
  10. ## mod_simple_vhost
  11. ##
  12. ## document-root =
  13. ## virtual-server-root + virtual-server-default-host + virtual-server-docroot
  14. ## or
  15. ## virtual-server-root + http-host + virtual-server-docroot
  16. ##
  17. simple-vhost.server-root = vhosts_dir + "/"
  18. simple-vhost.default-host = "default.example.com"
  19. simple-vhost.document-root = "/htdocs/"
  20. ##
  21. ## Print some errors for finding the document-root
  22. ##
  23. #simple-vhost.debug = "enable"
  24. ##
  25. #######################################################################