]>
Commit | Line | Data |
---|---|---|
1 | # Simple name-based virtual hosting | |
2 | # | |
3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost | |
4 | ||
5 | server.modules += ( | |
6 | "mod_simple_vhost" | |
7 | ) | |
8 | ||
9 | ## The document root of a virtual host isdocument-root = | |
10 | ## simple-vhost.server-root + $HTTP["host"] + simple-vhost.document-root | |
11 | simple-vhost.server-root = "/home/services/lighttpd/" | |
12 | simple-vhost.document-root = "/html/" | |
13 | ||
14 | ## the default host if no host is sent | |
15 | simple-vhost.default-host = "www.example.com" |