Squid Error Page
Hello all.
I know how to block src/dst domains/IPs in Squid. I'd like to "give" users special error-pages (ACCESS_DENIED) according to the sites they visit. Is it possible? So, if I block xxx.abc, the user should see "XXX.abc is blocked". If the user will try to visit xyz.com , Squid should give another error page "xyz.com is not allowed to visit", something like this. For other blocked domains a default error page will go. In fact, I need such a special page only for one web-site (very popular social network. Users spend too much time at work surfing it). Best regards, Alexey. |
Hello,
Yes, that's possible. Look at the following, found with Google in under a second. http://digitizor.com/2009/09/16/how-...ages-in-squid/ http://zlstudios.net/2010/06/change-...y-error-pages/ Furthermore, if I recall correctly you can set specific error pages per site (error_directory) in your squid.conf. Have a look at the configuration parameters. Kind regards, Eric |
All times are GMT -5. The time now is 03:23 PM. |