]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1-mod_userdir.conf
- updated db4 patch: old content was obsolete, now it adds db5.0 support
[packages/apache1.git] / apache1-mod_userdir.conf
index 2255e882e388cdc64310a2f8e2a47e2e5a2d4ba3..1af15023f60c1ddc18840f3b74d6b074b3569243 100644 (file)
@@ -11,16 +11,18 @@ 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/users/*/public_html>
-#      AllowOverride FileInfo AuthConfig Limit
-#      Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
-#      <Limit GET POST OPTIONS PROPFIND>
-#              Order allow,deny
-#              Allow from all
-#      </Limit>
-#      <LimitExcept GET POST OPTIONS PROPFIND>
-#              Order deny,allow
-#              Deny from all
-#      </LimitExcept>
-#</Directory>
+<Directory /home/users/*/public_html>
+       AllowOverride FileInfo AuthConfig Limit
+       Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+       <IfModule mod_access.c>
+               <Limit GET POST OPTIONS PROPFIND>
+                       Order allow,deny
+                       Allow from all
+               </Limit>
+               <LimitExcept GET POST OPTIONS PROPFIND>
+                       Order deny,allow
+                       Deny from all
+               </LimitExcept>
+       </IfModule>
+</Directory>
 </IfModule>
This page took 0.060067 seconds and 4 git commands to generate.