Redirect URL to a new URL at apache



Hi... My company have just bought a few domain name like mycompany.uk , mycompany.hk and
mycompany.jp and etc. I have point those domain IP to the web server public IP and my webserver
has the virtual host of http://mycompany.com and it is running apache.

I want to redirect those domain URL for example http://mycompany.uk to http://mycompany.com when
the web traffic reach my webserver. So that at the user web browser will show http://mycompany.com
whenever they type http://mycompany.uk and http://mycompany.hk and etc

I found a redirect directives that it works for the following

Redirect /abc http://mycompany.com

It means if I type http://mycompany.com/abc , the web browser will redirect to
http://mycompany.com

but if I put
Redirect http://mycompany.uk http://mycompany.com

it doesn't work at all



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages