Redirect URL to a new URL at apache

Bruno Wolff III bruno at wolff.to
Thu Aug 31 20:45:24 UTC 2006


On Thu, Aug 31, 2006 at 11:07:37 -0700,
  jim martin <postfix168 at yahoo.com> wrote:
> 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  

Take a look at using modrewrite. It allows for more complicated URL
rewriting.




More information about the fedora-list mailing list