Thursday, February 12, 2015

[Quick Tips]: Redirect squid default error messages

Redirect squid default error messages


Squid is a proxy server which has a wide variety of uses (one of them is to speed up the server).It is basically used for HTTP and FTP and it has a limited support for some other protocols like TLS, HTTPS etc.
Squid can run on different operating systems like:
AIX
BSDI
Digital Unix
FreeBSD
In this tutorial we will discuss “Redirect URL in Squid Proxy Server OR Redirect squid default error/defect messages”. It is a uncomplicated logic; fundamentally it is working on declining ACL. Squid proxy server declines the access to a enumerated Website and redirects them to a pre-defined URL as a squid error message. To redirect squid default error messages:
sq1
Now we edit the default Squid configuration. Now save and exit. Reload Squid Server with new configuration.
sq2
As a result when a proxy client access to “yahoo.com”, the Squid server will deny the access and redirect to howtoistart.com as an error message. Now you are done with redirection of squid default error messages.

No comments: