httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnau <arnaul...@andromeiberica.com>
Subject [users@httpd] Apache redirect, how?
Date Tue, 07 Nov 2006 10:12:44 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message