[squid-users] Antwort: Re: [squid-users] Antwort: [squid-users] blocking porn sites ?

From: <Horst.Mundt@dont-contact.us>
Date: Thu, 22 Apr 2004 16:00:46 +0200



What is the content of your acl file??



                                                                                                                   
                    Hement Gopal
                    <hementg@cns.w An: Horst.Mundt@arxes.de
                    its.ac.za> Kopie: squid-users <squid-users@squid-cache.org>
                                         Thema: Re: [squid-users] Antwort: [squid-users] blocking porn sites ?
                    22.04.2004
                    16:04
                                                                                                                   
                                                                                                                   




hi horst

if i use the -i "usr/local/squid/etc/porn1" option
i get the ff errors :

2004/04/22 16:11:12| squid.conf line 1472: acl porn1 url_regex -i
"/usr/local/squid/etc/porn1"
2004/04/22 16:11:12| aclParseRegexList: Invalid regular expression
'if(w0){': Unmatched \{
2004/04/22 16:11:12| squid.conf line 1472: acl porn1 url_regex -i
"/usr/local/squid/etc/porn1"
2004/04/22 16:11:12| aclParseRegexList: Invalid regular expression
'if(navigator.userAgent.indexOf('Mac')!=-1){document.write(imgN);':
Invalid content of \{\}
2004/04/22 16:11:12| squid.conf line 1472: acl porn1 url_regex -i
"/usr/local/squid/etc/porn1"
2004/04/22 16:11:12| aclParseRegexList: Invalid regular expression
'}else{': Unmatched \{
2004/04/22 16:11:12| squid.conf line 1472: acl porn1 url_regex -i
"/usr/local/squid/etc/porn1"
2004/04/22 16:11:12| aclParseRegexList: Invalid regular expression
'document.write('<applet': Unmatched ( or \(


Horst.Mundt@arxes.de wrote:

>In order to make squid read the list from afile you should enclose the
>filename in double quotes:
>
> acl porn1 url_regex "/usr/local/squid/etc/porn1"
>
>Otherwise squid will not read the urls from the file but match the
filename
>itself....
>You should also probably use "url_regex -i" (csase insensitive match).
>
>Regards
>
>Horst
>
>
>
>

> Hement Gopal

> <hementg@cns.w An: squid-users
<squid-users@squid-cache.org>
> its.ac.za> Kopie:

> Thema: [squid-users] blocking
porn sites ?
> 22.04.2004

> 15:42

>

>

>
>
>
>
>hi all
>
>i am running Squid Cache: Version 2.4.STABLE1.
>
>I've tried to implement a block to porn sites using the acls with the
>following entries :
>
>acl porn1 url_regex /usr/local/squid/etc/porn1
>http_access deny porn1
>http_access allow all
>
>but it doesn't seem to work.....(no errors....i am just able to browse
>to any site from the blocked url list)
>
>can anyone assist?
>
>rgds,
>hement gopal
>
>
>
>
>
>
>
>
>Disclaimer
>
>Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
>enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind oder diese
E-Mail
>irrtümlich erhalten haben, informieren Sie bitte sofort den Absender tele-
>fonisch oder per E-Mail und löschen Sie diese E-Mail aus Ihrem System. Das
>unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht
>gestattet. Wir haften nicht für die Unversehrtheit von E-Mails, nachdem
sie
>unseren Einflussbereich verlassen haben.
>
>This e-mail may contain confidential and/or privileged information. If you
>are not the intended recipient (or have received this e-mail in error)
please
>notify the sender immediately by call or e-mail and destroy this e-mail.
Any
>unauthorised copying, disclosure or distribution of the material in this
>e-mail is strictly forbidden. We are not responsible for the integrity of
>e-mails after they have left our sphere of control.
>







Disclaimer

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender tele-
fonisch oder per E-Mail und löschen Sie diese E-Mail aus Ihrem System. Das
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht
gestattet. Wir haften nicht für die Unversehrtheit von E-Mails, nachdem sie
unseren Einflussbereich verlassen haben.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error) please
notify the sender immediately by call or e-mail and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. We are not responsible for the integrity of
e-mails after they have left our sphere of control.


Received on Thu Apr 22 2004 - 08:01:08 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT