Thanks to all who wasted theit time with my problem, special thanks to
Hermann Strassner [hermann.strassner@hama.de].
There was a bug in my squid.conf.
Trying to construct ban lists I had following configuration:
acl deny_muell_regex url_regex "/usr/local/squid/etc/deny_file_urlregex.txt"
acl deny_muell_url urlpath_regex -i
"/usr/local/squid/etc/deny_file_urlpath.txt"
acl porn url_regex "/usr/local/squid/etc/porno.txt"
acl noporn url_regex "/usr/local/squid/etc/kein_porno.txt"
http_access deny !noporn porn
http_access deny deny_muell_url
http_access deny deny_muell_regex
After changing the last lines reading:
http_access deny !noporn deny_muell_url
http_access deny !noporn deny_muell_regex
all worked fine.
By the way: This configuration says:
IF url IS IN ( porn OR deny_muell_url OR deny_muell_regex ) AND NOT IN
noporn ) THEN deny url
Is there a better syntax for this configuration?
> Mit freundlichen Grüßen / regards
> Werner Rost
>
> ---------------------------------------------------------------------
> ZF Boge GmbH
> Werner Rost
> IT
> Friesdorfer Str. 175
> D-53175 Bonn
>
>
> phone: +49/228/3825 420
> fax: +49/228/3825 398
> werner.rost@zfboge.com
>
> www.boge-vibrationcontrol.com
> ---------------------------------------------------------------------
>
> -----Ursprüngliche Nachricht-----
> Von: Henrik Nordstrom [mailto:hno@marasystems.com]
> Gesendet am: Dienstag, 28. Mai 2002 13:59
> An: Rost, Werner; 'squid-users@squid-cache.org'
> Betreff: Re: [squid-users] acl-problem
>
> This is not a valid regex pattern. Slow down and assign one hour to
> learn regex. There are several good sources of regex documentation
>
> man 7 regex
> man egrep
> info regex
> plus mostly any basic UNIX book has some chapter on regex..
>
> Regards
> Henrik
>
> On Tuesday 28 May 2002 12:08, Rost, Werner wrote:
> > acl noporn url_regex
> > http://fn5054.zff.zf-group.de/cgi-bin/webclient/www_int.exe?cgipara
> >m=WWW_REA _MAIN_MEN/ZFF-WWW-TOP-DOC
>
>
>
> ---------------------------------------------------------
> This Mail has been checked for Viruses
> Attention: Encrypted mails can NOT be checked!
>
> **
>
> Diese Mail wurde auf Viren geprueft
> Hinweis: Verschluesselte mails koennen NICHT auf Viren
> geprueft werden!
> ---------------------------------------------------------
>
---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!
**
Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------
Received on Wed May 29 2002 - 00:27:07 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:15 MST