Search squid archive

Re: redirect

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

 



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


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

  Powered by Linux