]> TLD Linux GIT Repositories - packages/lighttpd.git/blobdiff - mod_userdir.conf
- merged 1.4.48 from PLD, TLDized
[packages/lighttpd.git] / mod_userdir.conf
diff --git a/mod_userdir.conf b/mod_userdir.conf
new file mode 100644 (file)
index 0000000..bc0e418
--- /dev/null
@@ -0,0 +1,18 @@
+# The userdir module provides a simple way to link user-based directories into
+# the global namespace of the webserver.
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModUserDir
+
+server.modules += (
+       "mod_userdir"
+)
+
+## the subdirectory of a user's home dir which should be accessible
+## under http://$host/~$user
+userdir.path         = "public_html"
+
+## The users whose home directories should not be accessible
+userdir.exclude-user = ( "root", "postmaster" )
+
+## enable userdir module
+userdir.active = "enable"