Forum Moderators: phranque

Message Too Old, No Replies

Redirect in VirtualHost?

urgent pls help

         

deepadev

5:38 am on Jan 20, 2006 (gmt 0)

10+ Year Member



Hi,

I need to redirect [mysite.au...] to [mysite.com...]

I have two VirtualHost entries - one for www.mysite.au and another for www.mysite.com

How do I do this redirection? Do I put in a Redirect in my VirtualHost for www.mysite.au?
Or do I put in a Redirect in my VirualHost for www.mysite.com?

Is this even related to Redirection or am I completely off track?

Am a newbie and I'm confused .. could someone help me out with how it works and the syntax?

Thanks in advance,
Deepa

jdMorgan

4:42 pm on Jan 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> How do I do this redirection? Do I put in a Redirect in my VirtualHost for www.mysite.au?

Yes.

Install a Redirect 301 directive [httpd.apache.org], test it, and then post here if any problems.

Jim