]> TLD Linux GIT Repositories - packages/lighttpd.git/blobdiff - mod_simple_vhost.conf
- merged 1.4.48 from PLD, TLDized
[packages/lighttpd.git] / mod_simple_vhost.conf
diff --git a/mod_simple_vhost.conf b/mod_simple_vhost.conf
new file mode 100644 (file)
index 0000000..5ffb73e
--- /dev/null
@@ -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"