tis 2003-05-27 klockan 17.12 skrev
stephane.konstantaropoulos@banksys.be:
> Hello Everybody,
>
> The company I work for is a bit strange when networking comes along.
>
> The problem:
>
> Two (external) identical web servers, same name, two IP addresses.
> My squid server forwarding the http requests from my network.
>
> I need to access these web servers through squid, with some kind of load
> balancing (like round robin or so). The servers are the same, just the IP
> address differs.
>
> Is it possible to configure squid to do that?
Squid automatically does so if you have a DNS record with both IP
addresses.
You can also set up direct request routing via the
cache_peer+cache_peer_access directives (configure the web servers as
parent, and only allow the correct domain(s) to be sent there) in which
case you can use the peer load balancing methods of Squid (i.e.
round-robin)
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [email protected]Received on Tue May 27 2003 - 10:06:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:05 MST