You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2010/12/03 00:24:37 UTC
svn commit: r1041637 - /httpd/httpd/trunk/docs/manual/mod/core.xml.es
Author: rbowen
Date: Thu Dec 2 23:24:37 2010
New Revision: 1041637
URL: http://svn.apache.org/viewvc?rev=1041637&view=rev
Log:
Update core.xml.es to latest core.xml changes.
Modified:
httpd/httpd/trunk/docs/manual/mod/core.xml.es
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml.es
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml.es?rev=1041637&r1=1041636&r2=1041637&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml.es (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml.es Thu Dec 2 23:24:37 2010
@@ -2280,6 +2280,38 @@ URLs</description>
locations. Since several different URLs may map to the same
filesystem location, such access controls may by circumvented.</p>
+ <p>The enclosed directives will be applied to the request if the path component
+ of the URL meets <em>any</em> of the following criteria:
+ </p>
+ <ul>
+ <li>The specified location matches exactly the path component of the URL.
+ </li>
+ <li>The specified location, which ends in a forward slash, is a prefix
+ of the path component of the URL (treated as a context root).
+ </li>
+ <li>The specified location, with the addition of a trailing slash, is a
+ prefix of the path component of the URL (also treated as a context root).
+ </li>
+ </ul>
+ <p>
+ In the example below, where no trailing slash is used, requests to
+ /private1, /private1/ and /private1/file.txt will have the enclosed
+ directives applied, but /private1other would not.
+ </p>
+ <example>
+ <Location /private1>
+ ...
+ </example>
+ <p>
+ In the example below, where a trailing slash is used, requests to
+ /private2/ and /private2/file.txt will have the enclosed
+ directives applied, but /private2 and /private2other would not.
+ </p>
+ <example>
+ <Location /private2<em>/</em>>
+ ...
+ </example>
+
<note><title>When to use <directive
type="section">Location</directive></title>