Doing this is probably easier using the "rproxy" branch of Squid. See
http://devel.squid-cache.org/rproxy/
If the two web servers are identical and per-request round-robin load
balancing is sufficient then normal Squid can also do the job. Create a
DNS entry listing both internal servers (or do so in /etc/hosts if
possible) and set httpd_accel_host to this.
Note that if you use authentication then the client can only
authenticate either to the proxy or to the origin server. If your origin
server uses authentication then you cannot normally do another
authentication in the reverse-proxy.
Regards
Henrik Nordström
Squid Hacker
MARA Systems AB, Sweden
CKPL Ng wrote:
>
> Hi,
> I am facing a problem in configuring squid as reverse proxy. I need to
> configure one single squid to act as reverse proxy for our internal web
> server. There are two internal web server that I have to proxy to and with
> load balance mode. Also, I need client authenticate to the proxy server.
>
> Can tell me how shall I configure for the above?
>
> TIA
> Aries
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Received on Thu Oct 11 2001 - 02:25:03 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:41 MST