2010-07-07 11:29:31 +00:00
|
|
|
#######################################################################
|
|
|
|
##
|
|
|
|
## Simple Virtual hosting
|
|
|
|
## ------------------------
|
|
|
|
##
|
2016-02-14 10:56:25 +00:00
|
|
|
## See http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost
|
2010-07-07 11:29:31 +00:00
|
|
|
##
|
|
|
|
server.modules += ( "mod_simple_vhost" )
|
|
|
|
|
|
|
|
## If you want name-based virtual hosting add the next three settings and load
|
|
|
|
## mod_simple_vhost
|
|
|
|
##
|
|
|
|
## document-root =
|
|
|
|
## virtual-server-root + virtual-server-default-host + virtual-server-docroot
|
|
|
|
## or
|
|
|
|
## virtual-server-root + http-host + virtual-server-docroot
|
|
|
|
##
|
|
|
|
simple-vhost.server-root = vhosts_dir + "/"
|
|
|
|
simple-vhost.default-host = "default.example.com"
|
|
|
|
simple-vhost.document-root = "/htdocs/"
|
|
|
|
|
|
|
|
##
|
|
|
|
## Print some errors for finding the document-root
|
|
|
|
##
|
2017-03-13 16:49:47 +00:00
|
|
|
#simple-vhost.debug = 1
|
2010-07-07 11:29:31 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
#######################################################################
|