X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=mod_simple_vhost.conf;fp=mod_simple_vhost.conf;h=5ffb73ebf144504e1bce76f9b3b29289025fae3f;hb=8239b3691d1ae536833b6d53a2efd289956ccbcd;hp=0000000000000000000000000000000000000000;hpb=2bc378a1b82f8e82ab66bd2a656282134a6d05e0;p=packages%2Flighttpd.git diff --git a/mod_simple_vhost.conf b/mod_simple_vhost.conf new file mode 100644 index 0000000..5ffb73e --- /dev/null +++ b/mod_simple_vhost.conf @@ -0,0 +1,15 @@ +# Simple name-based virtual hosting +# +# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost + +server.modules += ( + "mod_simple_vhost" +) + +## The document root of a virtual host isdocument-root = +## simple-vhost.server-root + $HTTP["host"] + simple-vhost.document-root +simple-vhost.server-root = "/home/services/lighttpd/" +simple-vhost.document-root = "/html/" + +## the default host if no host is sent +simple-vhost.default-host = "www.example.com"