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!
Received on Fri Mar 14 2014 - 13:01:44 MDT
This archive was generated by hypermail 2.2.0 : Fri Mar 14 2014 - 12:00:04 MDT