[users@httpd] Apache redirect, how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all!

  I've got apache2 running on debian with several virtual hosts.

  Now I need to redirect:

    http://www.foo.com -> http://www.bar.com

  but

    http://www.foo.com/test doesn't have to be redirected.

I have tried to include the directive "Redirect / http://www.bar.com"; where the virtual host www.foo.com is defined but apache redirects also http://www.foo.com/test to www.bar.com.

Anybody knows how I can do this? for the time being I have created a index.php that does this redirection.

Cheers!
--
Arnau

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux