Re: Redirect URL to a new URL at apache




http://yolinux.com/TUTORIALS/ApacheRedirect.html
A few options listed here...
-B

jim martin wrote:
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

  • Redirect URL to a new URL at apache
    ... I found a redirect directives that it works for the following ... It means if I type http://mycompany.com/abc, the web browser will redirect to ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Fedora)
  • securing linux webserver?
    ... A friend of mine set up a webserver: ... securing it; ... Do you Yahoo!? ...
    (Security-Basics)
  • Apache Problems
    ... daemon is up and running and I can access the ... When I try to connect to the webserver via the IP ... address of my DSL connection I get the error: ... New and Improved Yahoo! ...
    (freebsd-questions)
  • Apache not included
    ... Any ideas if this is an omission or intentional? ... I would think a webserver would definitely be included in the basic config. ... there's more in store with Yahoo! ...
    (freebsd-questions)
  • Re: Yahoo Account Security
    ... webserver for which you could view the logs... ... Subject: Yahoo Account Security ...
    (Security-Basics)