summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/conf.d/simple_vhost.conf
diff options
context:
space:
mode:
Diffstat (limited to 'package/lighttpd/files/conf.d/simple_vhost.conf')
-rw-r--r--package/lighttpd/files/conf.d/simple_vhost.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/lighttpd/files/conf.d/simple_vhost.conf b/package/lighttpd/files/conf.d/simple_vhost.conf
new file mode 100644
index 000000000..220331e02
--- /dev/null
+++ b/package/lighttpd/files/conf.d/simple_vhost.conf
@@ -0,0 +1,28 @@
+#######################################################################
+##
+## Simple Virtual hosting
+## ------------------------
+##
+## http://www.lighttpd.net/documentation/simple-vhost.html
+##
+server.modules += ( "mod_simple_vhost" )
+
+## If you want name-based virtual hosting add the next three settings and load
+## mod_simple_vhost
+##
+## document-root =
+## virtual-server-root + virtual-server-default-host + virtual-server-docroot
+## or
+## virtual-server-root + http-host + virtual-server-docroot
+##
+simple-vhost.server-root = vhosts_dir + "/"
+simple-vhost.default-host = "default.example.com"
+simple-vhost.document-root = "/htdocs/"
+
+##
+## Print some errors for finding the document-root
+##
+#simple-vhost.debug = "enable"
+
+##
+#######################################################################