File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / lighttpd / conf.d / simple_vhost.conf.sample
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Jan 5 23:14:25 2014 UTC (10 years, 8 months ago) by misho
Branches: MAIN
CVS tags: elwix2_3, elwix2_2, HEAD, ELWIX2_2p0, ELWIX2_1
version 2.1

    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: 
   10: ##  If you want name-based virtual hosting add the next three settings and load
   11: ##  mod_simple_vhost
   12: ##
   13: ## document-root =
   14: ##   virtual-server-root + virtual-server-default-host + virtual-server-docroot
   15: ## or
   16: ##   virtual-server-root + http-host + virtual-server-docroot
   17: ##
   18: simple-vhost.server-root   = vhosts_dir + "/"
   19: simple-vhost.default-host  = "default.example.com"
   20: simple-vhost.document-root = "/htdocs/"
   21: 
   22: ##
   23: ## Print some errors for finding the document-root
   24: ##
   25: #simple-vhost.debug = "enable"
   26: 
   27: ##
   28: #######################################################################

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>