solved, :D now running 100% like i want, it is about using the flag
"vhost" instead
of "defaultsite", so for reference, here is the last configuration i
did where i just added
the following lines at the top of the file squid.config, all other
configurations i left them
as they are with no modification:
http_port 8000 accel vhost
cache_peer 127.0.0.1 parent 80 0 no-query originserver name=srvtomcat
cache_peer_domain srvtomcat akkad.sytes.net
cache_peer 10.1.1.101 parent 80 0 no-query originserver name=srviis
cache_peer_domain srviis awali.sytes.net
http_access allow all
-- akkad On Mon, May 4, 2009 at 12:36 PM, Jeff Pang <pangj_at_arcor.de> wrote: > Ahmed Akkad: >> >> ok, now i have something running, but still i have a problem, please take >> a look >> at the following configuration: >> >> http_port 8000 accel defaultsite=localhost >> cache_peer 127.0.0.1 parent 80 0 no-query originserver name=srvTomcat >> cache_peer_domain srvTomcat subA.domain.com >> cache_peer 10.1.1.100 parent 80 0 no-query originserver name=srvIIS >> cache_peer_domain srviis subB.domain.com > > The name should be svrIIS instead of srviis, is it? > >> >> when i request either subA.domain.com or subB.domain.com both call the >> same >> tomcat web server that which is located on the same machine of Squid >> server, >> subB.domain.com it suppose to request the IIS server on machine with >> IP 10.1.1.100, >> whats wrong with my config? >> > > > -- > Jeff Pang > DingTong Technology > www.dtonenetworks.com > -- ubuntu a.akkadReceived on Mon May 04 2009 - 09:11:52 MDT
This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 12:00:02 MDT