Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

name based virtual host

Status
Not open for further replies.

gchen

Programmer
Nov 14, 2002
174
US
Hi, Everyone,

need some help here ...

i have an apache 2.0 and i use name-based virtual host set up for 1 main, 2 virtual-hosts. they are set in httpd.conf as -

1st virtual host directive -> main.com
2nd virtual host directive -> aaa.com
3rd virtual host directive -> bbb.com

requests to main.com and aaa.com both being pointed to their DocumentRoot correctly.

but requests to bbb.com are always being pointed to main.com as if bbb.com is never there. the virtualhost directive are all the same and i just could figure out why.

interestingly, if request to bbb.com/? then it is working fine. I wonder if i miss any thing?

Can any apache guru help me out here? thanks a mil!!!!!

 
Hi Wishdiak,

You know what, i believe it was because of the cache in the proxy server. I tried to send the request from other place, another corner in the globe, Bingo! it went thru and hit all the virtual hosts.

Thanks for you reply and i think i am cool now.

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top