SOURCES: apache-mod_userdir.conf (NEW) - from 2.2.0 sources: extra...
glen
glen at pld-linux.org
Wed Dec 14 23:12:26 CET 2005
Author: glen Date: Wed Dec 14 22:12:26 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- from 2.2.0 sources: extra/httpd-userdir.conf
---- Files affected:
SOURCES:
apache-mod_userdir.conf (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/apache-mod_userdir.conf
diff -u /dev/null SOURCES/apache-mod_userdir.conf:1.1
--- /dev/null Wed Dec 14 23:12:26 2005
+++ SOURCES/apache-mod_userdir.conf Wed Dec 14 23:12:21 2005
@@ -0,0 +1,35 @@
+# $Id$
+LoadModule userdir_module modules/mod_userdir.so
+
+# Settings for user home directories
+#
+# Required module: mod_userdir
+
+<IfModule mod_userdir.c>
+#
+# UserDir: The name of the directory that is appended onto a user's home
+# directory if a ~user request is received. Note that you must also set
+# the default access control for these directories, as in the example below.
+#
+UserDir public_html
+
+#
+# Control access to UserDir directories. The following is an example
+# for a site where these directories are restricted to read-only.
+#
+<Directory /home/*/public_html>
+ AllowOverride FileInfo AuthConfig Limit Indexes
+ Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+ <Limit GET POST OPTIONS>
+ Order allow,deny
+ Allow from all
+ </Limit>
+ <LimitExcept GET POST OPTIONS>
+ Order deny,allow
+ Deny from all
+ </LimitExcept>
+</Directory>
+
+</IfModule>
+
+# vim: filetype=apache ts=4 sw=4 et
================================================================
More information about the pld-cvs-commit
mailing list