Is it possible to capture target file (file where link leads to) without including it into string passed to rewrite?
String to rewrite I’m passing looks something like this:
Rather than passing the original URI, use {THE_REQUEST}. Just have a play with it as it includes the method (POST/GET) as well as other information (besides the requested URI).
Is that ? supposed to be the ? metacharacter (zero or one of the preceding character) OR the separation character to denote the query string (which can only be accessed by a RewriteCond looking at the {QUERY_STRING})? Okay, from your example, you’re okay as it didn’t have a query string.