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" <Ralf.Hildebrandt@charite.de>
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) 
> Ralf.Hildebrandt@charite.de
> 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 
> spamtrap@charite.de 
Received on Mon Feb 27 2006 - 13:22:39 MST
This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST