From: Eric Covener Date: Tue, 30 Nov 2010 12:46:45 +0000 (+0000) Subject: PR50376 clarify that applies to the files under the Directory, not just... X-Git-Tag: 2.2.18~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a24dbc5b56b6aff41ccced0537a11c4d0324744;p=thirdparty%2Fapache%2Fhttpd.git PR50376 clarify that applies to the files under the Directory, not just the directories themselves. (slightly different from trunk due to DirectoryMatch phrasing differences) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1040495 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 7e196e0a4e9..2cfcf2bc7de 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -650,7 +650,7 @@ server cannot determine a type in any other way Directory Enclose a group of directives that apply only to the -named file-system directory and sub-directories +named file-system directory, sub-directories, and their contents <Directory directory-path> ... </Directory> server configvirtual host @@ -659,8 +659,9 @@ named file-system directory and sub-directories

Directory and </Directory> are used to enclose a group of - directives that will apply only to the named directory and - sub-directories of that directory. Any directive that is allowed + directives that will apply only to the named directory, + sub-directories of that directory, and the files within the respective + directories. Any directive that is allowed in a directory context may be used. Directory-path is either the full path to a directory, or a wild-card string using Unix shell-style matching. In a wild-card string, ? matches @@ -801,8 +802,8 @@ subdirectories

DirectoryMatch and </DirectoryMatch> are used to enclose a group - of directives which will apply only to the named directory and - sub-directories of that directory, the same as sub-directories of that directory (and the files within), the same as Directory. However, it takes as an argument a regular expression. For example:

diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml index 5bebb83ec66..fcaea3a2ac2 100644 --- a/docs/manual/sections.xml +++ b/docs/manual/sections.xml @@ -155,7 +155,8 @@ counterparts, apply directives to parts of the filesystem. Directives enclosed in a Directory section apply to the named filesystem directory and all subdirectories of that -directory. The same effect can be obtained using .htaccess files. For example, in the following configuration, directory indexes will be enabled for the /var/web/dir1 directory and all subdirectories.