[thelist] mod_rewrite help ...

Kevin lists at irubin.com
Wed Nov 13 09:56:01 CST 2002


Hello,

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

RewriteRule item-(.*),(.*),(.*)\.html$
http://www.otherdomain.com/cgi-bin/engine.pl?action=page1&C1=$1&C2=$2&T1=$3
[PT]

The page in question is 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? Is there any way to stay within the original domain?

TIA.


-Kevin





More information about the thelist mailing list