httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r159792 - in httpd/httpd/branches/simple-conf/docs/conf: extra/httpd-userdir.conf httpd-std.conf.in
Date Sat, 02 Apr 2005 18:54:48 GMT
Author: slive
Date: Sat Apr  2 10:54:47 2005
New Revision: 159792

URL: http://svn.apache.org/viewcvs?view=rev&rev=159792
Log:
Move mod_userdir config to extra/.
(The default on UserDir should be changed to disabled
so that it won't work without this extra config stuff.)

Added:
    httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-userdir.conf
Modified:
    httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in

Added: httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-userdir.conf
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-userdir.conf?view=auto&rev=159792
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-userdir.conf (added)
+++ httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-userdir.conf Sat Apr  2 10:54:47
2005
@@ -0,0 +1,28 @@
+# Settings for user home directories
+#
+# Required module: mod_userdir
+
+#
+# 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 PROPFIND>
+        Order allow,deny
+        Allow from all
+    </Limit>
+    <LimitExcept GET POST OPTIONS PROPFIND>
+        Order deny,allow
+        Deny from all
+    </LimitExcept>
+</Directory>
+

Modified: httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in?view=diff&r1=159791&r2=159792
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in (original)
+++ httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in Sat Apr  2 10:54:47 2005
@@ -363,32 +363,6 @@
 </Directory>
 
 #
-# 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.
-#
-<IfModule userdir_module>
-    UserDir public_html
-</IfModule>
-
-#
-# 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 PROPFIND>
-#        Order allow,deny
-#        Allow from all
-#    </Limit>
-#    <LimitExcept GET POST OPTIONS PROPFIND>
-#        Order deny,allow
-#        Deny from all
-#    </LimitExcept>
-#</Directory>
-
-#
 # DirectoryIndex: sets the file that Apache will serve if a directory
 # is requested.
 #
@@ -806,6 +780,9 @@
 
 # Language settings
 # Include @relsysconfdir@/extra/httpd-languages.conf
+
+# User home directories
+# Include @relsysconfdir@/extra/httpd-userdir.conf
 
 #
 # Secure (SSL/TLS) connections



Mime
View raw message