Re: [users@httpd] how to redirect a site via r301

2012-10-02 Thread Ben Johnson


On 10/2/2012 9:46 AM, Bulent Malik wrote:
> 
> I use apache2.2 on freebsd8.   
> I have 2 sites on it.  First is test.org and second  one is test.com.
> 
> I wish apache to redirect that  When a visitor  reaches at
> http://test.org/query.php?id=516263  to  http://test.com/query.php?id=516263
> 
> How can i do that ?

http://httpd.apache.org/docs/current/rewrite/remapping.html#movehomedirs

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] how to redirect a site via r301

2012-10-02 Thread Bulent Malik

I use apache2.2 on freebsd8.   
I have 2 sites on it.  First is test.org and second  one is test.com.

I wish apache to redirect that  When a visitor  reaches at
http://test.org/query.php?id=516263  to  http://test.com/query.php?id=516263

How can i do that ?



 



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org