Re: [squid-users] redirect

From: mbe <matthias_at_kleinesnetzwerk.net>
Date: Sun, 12 Jun 2011 17:03:07 +0200

Am Sonntag, 12. Juni 2011, 03:58:12 schrieb Amos Jeffries:
> On 12/06/11 10:09, mbe wrote:
> > How do I redirect a request back to the internet, if the adress (dst) is
> > not allowed in the acl? No message or failure notice shall be shown.
> >
> > matthias
>
> You seem to mistake how both redirect and ACL work.
>
> * ACL permit/deny permission to use the proxy for a request. When
> denied a response is sent to the *client*.
>
> * HTTP redirect is just a special type of such responses. Which has a
> 30x status instead of 40x.
>
> Whether anything gets shown is up to the clients software agent. GET
> requests usually get repeated automatically and load the new location
> without displaying any difference. Other requests are usually required
> to ask the user if its safe to continue etc.
> The type of agent also matters.
>
> Amos

Hi Amos,
the ACL is ok, I want SQUID to cache certain sites and DST only, and the
response is send, if SQUID denies the request. (ERROR ....).
Next I want to tell SQUID not to send the response (ERROR...), but to redirect
the request to another server.

Matthias
Received on Sun Jun 12 2011 - 15:08:05 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 13 2011 - 12:00:02 MDT