- This is the (%-decoded) <a href="directive-dict.html#Syntax">URL-path</a>.</p>
-
- <p>In <directive module="core">Directory</directive> and htaccess context,
- the <em>Pattern</em> is matched against the trailing portion of the currently
- mapped filesystem path with the rules own directory path removed from the beginning
- (up to and including a trailing slash). Directives such as <directive
+ This is the (%-decoded) <a href="directive-dict.html#Syntax">URL-path</a>.</p></li>
+
+ <li><p>In <directive module="core">Directory</directive> and htaccess context,
+ the <em>Pattern</em> is matched against only a partial path, for example a request
+ of "/app1/index.html" may result in comparison against "app1/index.html"
+ or "index.html" depending on where the <directive>RewriteRule</directive> is
+ defined.</p>
+
+ <p>In this context, only the trailing portion of the currently mapped
+ filesystem is compared against. The directory path where the rule is defined
+ is stripped before comparison (up to and including a trailing slash).
+ The net result of this per-directory prefix stripping is that rules in
+ this context only match against the portion of the currently mapped path
+ "below" where they are defined.</p>
+
+ <p>Directives such as <directive