httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Millikan" <gmilli...@t1shopper.com>
Subject RE: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2
Date Thu, 02 Jun 2011 20:26:59 GMT
> You misunderstood what Eric said. The first vhost absolutely can be
> used to redirect requests to another vhost. 
> I don't think I can make it any clearer than that - hope that helps.

Wow, thank you!  And just for kicks, look back at the original post - you can see the configuration
you proposed is exactly what we
attempted.  But it didn't work. 
 
When we went to http://www.foo.com/ we expected the second vhost entry to pick it up because
of the hostname match. But it didn't.
Instead the first vhost entry picked it up and redirected http://www.foo.com/ right back to
http://www.foo.com/ putting us in an
infinite loop.

It shouldn't happen that way, but it is - and that's the original question, "Why isn't it
working?"  I feel a bit embarrassed for
not being able to debug/figure it out and I'm hoping it's some simple oversight.  
 
http://www.gossamer-threads.com/lists/apache/users/399377



---------------------------------------------------------------------
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