mod_rewrite one url to another url without changing source url
Is it possible to do a mod_rewrite from one url to another without changing what appears in the address bar (ie., I want the base domain to remain static, even though what is being served comes form a different server)?
Source URL is http://domain1.com/news
Target URL is http://domain2.com/news
I want to render pages from http://domain2.com/news/ but have http://domain1.com/news remain static in the address bar.
Is this possible?
I've got this directive. The pages serve properly, but the URL in the address bar changes (which I don't want to happen):
RewriteRule ^(.*)$ http://domain2.com/news/ [L,NC]