You can create an ACL for local IP addresses and block those in squid.conf. You can also assign a customized error message for this ACL using "deny_info" to display a custom html page with your desired message.

----- Original Message ----- From: "Ralf Hildebrandt" <[EMAIL PROTECTED]>
To: <squid-users@squid-cache.org>
Sent: Tuesday, February 28, 2006 12:53 AM
Subject: [squid-users] Special error message possible?


I want to block access to internal websites via the proxy. I want to
do this on the proxy itself, but I'd like to show the user a proper
error message like:

"Don't access the internal net by means of the proxy".

Is that possible?

--
Ralf Hildebrandt (i.A. des IT-Zentrums) [EMAIL PROTECTED] Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 IT-Zentrum Standort CBF send no mail to [EMAIL PROTECTED]

Reply via email to