views:

18

answers:

1

Anyone out there good with htaccess and mod rewrite - i need your help!

I need to rewrite the base part of a url.

for example all requestst to http://domain1.com need to go to http://domain2.com

The requests will typically be in the form as follows:

http://domain1.com/main/test?q=1

i then need to go to http://domain2.com/main/test?q=2

Pleas help!

Thanks in advance

A: 

Rewriting URL's across multiple domains? I'm not entirely sure this can work, considering Apache's request-handling algorithm. You're looking for a redirect, not rewrite.

Isaac