I have the following rules in my httpd.conf
RewriteEngine on RewriteBase / RewriteCond %{QUERY_STRING} password=* RewriteCond %{QUERY_STRING} bi2=(.*) RewriteCond %{REQUEST_URI} /myGet.php(.*)$ RewriteRule ^(.*)$ http://blog.myexample%1.com/$1
However, when I executed the Request URI
/myGet.php?password=john&bi2=67
I was redirected to
instead of
It seems that %N for the RewriteCond BackReferencing is not working. Although $N is.
Alter the order or the
RewriteConddirectives so that the last directive is the one you want the information from:But I rather suggest: