* add a RewriteBase
* REQUEST_URI doesn't have the RewriteBase stripped from it, so fix the test comparison.
* rewrite to absolute URI and use PT flag so the rule is somewhat applicable to per-vh context
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1025748 13f79535-47bb-0310-9956-
ffa450edef68
module="mod_rewrite">RewriteRule</directive> will be skipped.</p>
<example>
-RewriteCond %{REQUEST_URI} !=index.php<br />
-RewriteRule ^(.*) index.php?req=$1 [L]
+RewriteBase /<br />
+RewriteCond %{REQUEST_URI} !=/index.php<br />
+RewriteRule ^(.*) /index.php?req=$1 [L,PT]
</example>
</section>