This is my httpd.conf file for my http://old.example.com
:
RewriteEngine on
RewriteBase /
RewriteRule ^login$ http://another.example.com/login [L]
The problem is that although I can redirect to http://another.example.com/login
, but the location bar is still showing http://old.example.com/login
.
Any idea how to fix this?