[SQU] Main Web Pages With Porn AD Page

From: Johnny Lim <johnny.lim@dont-contact.us>
Date: Mon, 29 Jan 2001 16:57:03 +0800

Hello All,

My ACLs are below:-

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# ACL Settings
acl authenticate proxy_auth REQUIRED
acl PJSA_PJ src 172.16.x.x/255.255.255.0
acl PJSA_PKG src 172.15.x.x/255.255.255.0
#
# To Block Porn
acl blocksite url_regex -i "/usr/local/squid/sites/porn.block.txt"
                                                                     
http_access deny !PJSA_PJ !PJSA_PKG
http_access deny blocksite
http_access allow authenticate
                                      
# For Testing Only
http_access allow localhost
                                      
http_access deny all

Problem is if i go to a legitimate web side with some porn icons, SQUID will throw me out and gives ACCESS DENIED becoz of this porn icons. How do i tell SQUID that, if the parent web pages is ok, just show the porn icons, but if the user click on the icon, then it's ACCESS DENIED???

Regards.

Johnny

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Jan 29 2001 - 02:10:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:37 MST