httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1040495 - in /httpd/httpd/branches/2.2.x/docs/manual: mod/core.xml sections.xml
Date Tue, 30 Nov 2010 12:46:45 GMT
Author: covener
Date: Tue Nov 30 12:46:45 2010
New Revision: 1040495

URL: http://svn.apache.org/viewvc?rev=1040495&view=rev
Log:
PR50376 clarify that <Directory> applies to the files under the Directory, not just
the directories themselves.

(slightly different from trunk due to DirectoryMatch phrasing differences)


Modified:
    httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml
    httpd/httpd/branches/2.2.x/docs/manual/sections.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml?rev=1040495&r1=1040494&r2=1040495&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml Tue Nov 30 12:46:45 2010
@@ -650,7 +650,7 @@ server cannot determine a type in any ot
 <directivesynopsis type="section">
 <name>Directory</name>
 <description>Enclose a group of directives that apply only to the
-named file-system directory and sub-directories</description>
+named file-system directory, sub-directories, and their contents</description>
 <syntax>&lt;Directory <var>directory-path</var>&gt;
 ... &lt;/Directory&gt;</syntax>
 <contextlist><context>server config</context><context>virtual host</context>
@@ -659,8 +659,9 @@ named file-system directory and sub-dire
 <usage>
     <p><directive type="section">Directory</directive> and
     <code>&lt;/Directory&gt;</code> 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. <var>Directory-path</var> is
     either the full path to a directory, or a wild-card string using
     Unix shell-style matching. In a wild-card string, <code>?</code> matches
@@ -801,8 +802,8 @@ subdirectories</description>
 <usage>
     <p><directive type="section">DirectoryMatch</directive> and
     <code>&lt;/DirectoryMatch&gt;</code> are used to enclose a group
-    of directives which will apply only to the named directory and
-    <em>sub-directories of that directory</em>, the same as <directive
+    of directives which will apply only to the named directory  and
+    <em>sub-directories of that directory</em> (and the files within), the same
as <directive
     module="core" type="section">Directory</directive>. However, it
     takes as an argument a <glossary ref="regex">regular 
     expression</glossary>. For example:</p>

Modified: httpd/httpd/branches/2.2.x/docs/manual/sections.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/sections.xml?rev=1040495&r1=1040494&r2=1040495&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/sections.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/sections.xml Tue Nov 30 12:46:45 2010
@@ -155,7 +155,8 @@ counterparts, apply directives to
 parts of the filesystem.  Directives enclosed in a <directive
 type="section" module="core">Directory</directive> section apply to
 the named filesystem directory and all subdirectories of that
-directory.  The same effect can be obtained using <a
+directory (as well as the files in those directories).  
+The same effect can be obtained using <a
 href="howto/htaccess.html">.htaccess files</a>.  For example, in the
 following configuration, directory indexes will be enabled for the
 <code>/var/web/dir1</code> directory and all subdirectories.</p>



Mime
View raw message