Thanks Chris,
however i need to publish both the server with the same name in the
reverse proxy , is there any way we can do it . ....
On Dec 29, 2007 3:05 AM, Chris Robertson <crobertson@gci.net> wrote:
>
> Shekhar Gupta wrote:
> > All,
> >
> > I am having this problem with my reverse proxy
> >
> > Internet > ReverseProxy > Actual Webserver 1
> > > Actual Webserver 2
> >
> > My problem is that this site is published on internet say
> > abc.mydomain.com , Both the servers are having diff IP 10.1.1.1 and
> > 10.1.1.2
> > now i want to have these servers configured in squid.conf ,
> >
> > cache_peer 10.1.1.1 parent 80 0 no-query originserver login=PASS
> > round-robin name=abc.mydomain.com
> > acl sites_server_9 dstdomain abc.mydomain.com
> > cache_peer_access abc.mydomain.com allow sites_server_9
> > cache_peer 10.1.1.2 parent 80 0 no-query originserver login=PASS
> > round-robin name=abc.mydomain.com
> > acl sites_server_10 dstdomain abc.mydomain.com
> > cache_peer_access abc.mydomain.com allow sites_server_10
> >
> > Squid throws duplicate entry
> > FATAL: ERROR: cache_peer abc.mydomain.com specified twice
> >
> > Squid Cache (Version 2.6.STABLE13): Terminated abnormally.
> > CPU Usage: 0.049 seconds = 0.045 user + 0.004 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 0
> > Aborted
> >
> > Can any one suggest how to go for this .
> >
>
>
> Don't specify a name and use the IP address in the cache_peer_access
> directive, or specify a different name for each. By assigning both
> cache_peers the same name, you are not giving Squid a way to
> differentiate between the two.
>
> Chris
>
Received on Sun Dec 30 2007 - 04:08:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST