Question

Aug 27, 2008 at 10:22 AM
Hi, is it possible to use this tool in order to rewrite, say, http://mydomain/whatever to http://my.other.domain/whatever? What I'd like to be able to do is make my web site (hosted at my.other.domain) to 'think' it is mydomain and show this domain instead when links are clicked. At the moment, when I try replacing the domain name, I get the "maps to another application" error.
Coordinator
Aug 27, 2008 at 3:11 PM
Only through a redirect, or reverse proxy request. 

Basically the rewriter can only handle everything after the domain in the URL.  That is why you are getting maps to another application error. 

To do a redirect you would do:
RewriteRule /whatever http://my.other.domain/whatever [R=301]

To do a reverse proxy you would do:
RewriteRule /whatever http://my.other.domain/whatever [P]

Thanks,
Nick Berardi