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
http://blog.myexample.com/myGet.php?password=john&bi2=67
instead of
http://blog.myexample67.com/myGet.php?password=john&bi2=67
It seems that %N for the RewriteCond BackReferencing is not working. Although $N is.