Search squid archive

Re: Re: SquidGuard redirect to parent proxy (Off-Topic)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 2014-03-13 21:32, schrieb Amos Jeffries:
On 2014-03-14 05:21, Christian Scholz wrote:
Hi,

I know that my question is a little bit off-topic but nevertheless I
hope that some can help me :-)
I've configured squid3 with squidguard and one parent-proxy. In the
case of access violation squidguard redirects the user to a customized
block page hosted by the proxy himself.

Unfortunately the proxy tries to access the local blockpage over his
parent proxy. Does some have an idea why?


1) this is a re-write, not a redirect.
HTTP redirects have a 3xx status code prefixing the URL in squidguard config.
   redirect 302:http://example.com/   # redirect client to example.com
   redirect http://example.com/       # re-write URL to
http://example.com and fetch

2) you probably also have no cache_peer_access rules preventing the
parent from being a source for these
ttp://<proxyname>.<localsuffix>/... URLs.


Amos

Okay, I've fixed it with the following lines
acl local-domain dstdomain <proxyname>.<localsuffix>
always_direct allow local-domain

Thanks!




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux