Mahlon Smith wrote:
>
> I've got a squid configuration almost straight out of the box -
> httpd_accel and proxy.
>
> Proxy works great, as does the acceleration.
>
> Here's my problem.
> If I am using the proxy, and I attempt to access the site that is being
> accelerated, I get the access denied.
This is because Squid loops back on itself when you try to proxy the
accelerated host..
Browser -> Squid Proxy -> Squid Accelerator [ -> Real server ]
Squid denies the request because it does not like to see requests from
itself.
Simplest fix is to use a redirector to rewrite proxy requests to match
the backend server name, like what httpd_accel_host/port does on
accelerated requests.
-- Henrik Nordstrom Spare time Squid hackerReceived on Fri Jul 02 1999 - 15:41:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:16 MST