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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to