mod_rewrite across domains

Using a single web hosting account to host multiple sites

mod_rewrite across domains

Postby irubin » Wed Nov 13, 2002 10:27 am

Hello,

I have a page on domain1 that I would like the server to rewrite to domain2, I am using the following syntax:

RewriteRule item-(.*),(.*),(.*)\.html$
http://www.otherdomain.com/cgi-bin/engi ... 2=$2&T1=$3


The page in question is of the following form http://www.mydomain.com/item-11,12,13.html

The problem I am having is that the the URL in the address bar changes to
the new domain (showing http://www.otherdomain.com/cgi-bin/engi ... 2=12&T1=13). Is there any way to stay within the original domain?

TIA.

--Kevin
lists@irubin.com
irubin
 

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 2 guests

cron