summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/conf.d/userdir.conf
diff options
context:
space:
mode:
Diffstat (limited to 'package/lighttpd/files/conf.d/userdir.conf')
-rw-r--r--package/lighttpd/files/conf.d/userdir.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/lighttpd/files/conf.d/userdir.conf b/package/lighttpd/files/conf.d/userdir.conf
new file mode 100644
index 000000000..1e3691e1a
--- /dev/null
+++ b/package/lighttpd/files/conf.d/userdir.conf
@@ -0,0 +1,37 @@
+#######################################################################
+##
+## Userdir Module
+## ----------------
+##
+## for all details see:
+## http://www.lighttpd.net/documentation/userdir.html
+##
+server.modules += ( "mod_userdir" )
+
+##
+## usually it should be set to "public_html" to take ~/public_html/ as
+## the document root
+## Default: empty (document root is the home directory)
+##
+userdir.path = "public_html"
+
+##
+## If set, don't check /etc/passwd for homedir
+## Default: empty
+#userdir.basepath = server_root + "/users/"
+
+##
+## list of usernames which may not use this feature
+## Default: empty (all users may use it)
+##
+#userdir.exclude-user = ( "root", "postmaster" )
+
+##
+## if set, only users from this list may use the feature
+## Default: empty (all users may use it)
+##
+#userdir.include-user = ("user1", "user2")
+
+##
+#######################################################################
+