From: Joshua Slive Date: Sat, 2 Apr 2005 18:54:47 +0000 (+0000) Subject: Move mod_userdir config to extra/. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64eaf1df8aa1e64b451e12da985ac38dace2eb77;p=thirdparty%2Fapache%2Fhttpd.git 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.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/simple-conf@159792 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/extra/httpd-userdir.conf b/docs/conf/extra/httpd-userdir.conf new file mode 100644 index 00000000000..9be34f9200e --- /dev/null +++ b/docs/conf/extra/httpd-userdir.conf @@ -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. +# + + AllowOverride FileInfo AuthConfig Limit Indexes + Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec + + Order allow,deny + Allow from all + + + Order deny,allow + Deny from all + + + diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index 1c628b40102..0fdd0d8db16 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -362,32 +362,6 @@ DocumentRoot "@exp_htdocsdir@" -# -# 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. -# -# -# AllowOverride FileInfo AuthConfig Limit Indexes -# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec -# -# Order allow,deny -# Allow from all -# -# -# Order deny,allow -# Deny from all -# -# - # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. @@ -807,6 +781,9 @@ ServerSignature On # Language settings # Include @relsysconfdir@/extra/httpd-languages.conf +# User home directories +# Include @relsysconfdir@/extra/httpd-userdir.conf + # # Secure (SSL/TLS) connections # Include @rel_sysconfdir@/extra/httpd-ssl.conf