Forum Moderators: phranque

Message Too Old, No Replies

mod_write to another domain

Any ideas, thoughts or previous solutions

         

irldonalb

2:57 pm on Aug 26, 2004 (gmt 0)

10+ Year Member



Hi,

I've been reading up on previous discussions on how to rewrite to a different domain or sub-domain and I'm struggling to find a solution.

I want to cloak a few pages to my other web server. I thought it would be as simple as...

RewriteEngine On
RewriteRule ^new_page\.html$ [other_domain.com...] [L]

I can get the page to redirect simply enough but I can't get the url to remain the same.

Is there away around this?
If it is not possible, is it a security issue?
Any ideas, thoughts or previous solutions?

Donal

jdMorgan

3:51 pm on Aug 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Investigate mod_proxy and the [P] flag of RewriteRule.

Jim