patch-docs__conf__extra__httpd-userdir.conf.in   [plain text]


--- docs/conf/extra/httpd-userdir.conf.in.orig	2007-09-13 14:43:37.000000000 -0700
+++ docs/conf/extra/httpd-userdir.conf.in	2007-09-13 14:44:24.000000000 -0700
@@ -7,22 +7,10 @@
 # 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
+UserDir Sites
 
 #
-# Control access to UserDir directories.  The following is an example
-# for a site where these directories are restricted to read-only.
+# Users might not be in /Users/*/Sites, so use user-specific config files.
 #
-<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>
+Include @rel_sysconfdir@/users/*.conf