]>
Commit | Line | Data |
---|---|---|
a242e9d0 ER |
1 | # Simple name-based virtual hosting |
2 | # | |
3 | # Documentation: http://www.lighttpd.net/documentation/simple-vhost.html | |
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" | |
693950e2 | 16 |