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

  • Re: Redirect URL to a new URL at apache
    ... I have point those domain IP to the web server public IP and my webserver ... I found a redirect directives that it works for the following ... Do You Yahoo!? ... Mail has the best spam protection around http://mail.yahoo.com ...
    (Fedora)
  • Re: Pentesting Webserver
    ... As much as you concentrate on SQL injection, ... web browser but I am not even getting an error ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Pen-Test)
  • Re: What will you be hunting with this Fall?
    ... > a rear sight and a slightly prouder front sight than ... > add a forward sling loop and a sling button toward the ... > Do You Yahoo!? ... Mail has the best spam protection around ...
    (rec.hunting)
  • Re: Duplicate disk in a volume group
    ... think this one would not be good because there is still an entry for a GOOD ... Duplicate disk in a volume group ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (AIX-L)
  • RE: FreeBSD on Dell PE850
    ... When I install using the 6.1 disk one I get the error "Add of package ... Do You Yahoo!? ... Mail has the best spam protection around ... MailScanner thanks transtec Computers for their support. ...
    (freebsd-questions)