RE: Special configuration for requests that do not match any particular virtual host? Apache 2.2

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

 



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