]>
Commit | Line | Data |
---|---|---|
a242e9d0 ER |
1 | # Simple name-based virtual hosting |
2 | # | |
bce8a1c7 | 3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost |
a242e9d0 | 4 | |
7d3968ad ER |
5 | server.modules += ( |
6 | "mod_simple_vhost" | |
7 | ) | |
693950e2 | 8 | |
a242e9d0 ER |
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" |