Hi,
I have a confusing problem.
When I try to mirror/rewrite a site URL to my second domain (residing on a
different server) like:
http://www.mydomain.com/dir/subdir/ rewrite to
http://www.my_second_domain.com/dir/subdir/
it doesnt't want to show http://www.mydomain.com/dir/subdir/ in the address
bar in browser, but shows the mirrored one
http://www.my_second_domain.com/dir/subdir/ instead. Why?
I am using this mod_rewrite:
Rewriterule dir/subdir/(.+) http://www.my_second_domain.com/dir/subdir/$1
[R,L]
What am I doing wrong and is it even possible for browser to show the URL
that was typed in the address bar when the content is actually being server
off another domain which resides on another server?
If that's not possile, how does one actually mirror one domain to another??
Bostjan Kocan