Re: [squid-users] http_access statement for reverse proxy configuration

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Tue, 30 Dec 2003 22:59:30 +0530

> I have set these except I was taking the default for these lines
> #httpd_accel_with_proxy off
> #httpd_accel_uses_host_header off

If u use the squid proxy and as well as the web-server in the same machine means ,
httpd_accel_with_proxy on
If one wants to use Squid as both an httpd accelerator and as a proxy for local client machines, set
the httpd_accel_with_proxy to on. By default, it is off. Note however that your proxy users may have
trouble reaching the accelerated domains, unless their browsers are configured not to use the Squid
proxy for those domains. The no_proxy option can be used to direct clients not to use the proxy for
certain domains.

httpd_accel_uses_host_header off

Requests in HTTP version 1.1 include a Host header, specifying the host name (or IP address) of the
URL. This option should remain off in reverse proxy mode. The only time this option must be set to
on is when Squid is configured as a Transparent proxy.

Regards,
Muthukumar.
Received on Tue Dec 30 2003 - 10:29:33 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:27 MST