Forum Moderators: phranque
[edited by: tedster at 10:59 am (utc) on May 23, 2012]
[edit reason] member request [/edit]
On the first RewriteRule, it is matched against the (%-decoded) URL-path (or file-path, depending on the context) of the request.
When using the rewrite engine in .htaccess files the per-directory prefix (which always is the same for a specific directory) is automatically removed for the RewriteRule pattern matching and automatically added after any relative (not starting with a slash or protocol name) substitution encounters the end of a rule set.