Re: squid.conf

From: Cord Beermann <cord@dont-contact.us>
Date: Wed, 11 Jun 1997 22:04:03 +0200 (MET DST)

Hallo! Du (Luiz Antonio de Souza) hast geschrieben:

>. Somebody known any perl script to analyze squid.conf file (consistency,
>features, etc..., not sintax, because the sintax is checked in startup time)????

Hmmm. what would you expect form such a beast?! ;-)

I think if someone is going to write something like that, he could
better build a cacheconf.cgi-thing to configure squid through a
Webbrowser...

>. Can somebody sendme an example to allow/deny acl "time"???
>The follow example is correct?????
>
>acl souza src "/usr/local/squid/etc/internautas"
>acl fmm src "/usr/local/squid/etc/fmm"
>acl hora time T 8:00-8:59
T ---> Tuesday
>
>http_access allow fmm !hora
>http_access deny !souza
>icp_access deny !souza !fmm
>
>My objective is allow access at 8:00(AM) thru 8:59(AM) for users listed in
>file /usr/local/squid/etc/fmm.

Huh. do you really mean 'users' or should that be 'hosts'?!
OK. Not nessecary. Squid can do both.

---------------------------------------
ident_lookup on
acl hora time 08:00-08:59
acl fmm user "/usr/local/squid/etc/fmm"

http_access allow fmm hora

should do it on users.
---------------------------------------
acl hora time 08:00-08:59
acl fmm src "/usr/local/squid/etc/fmm"

http_access allow fmm hora

should do it for hosts.
---------------------------------------

hope this helps,
        Cord

-- 
Cord Beermann        http://www.Wunder-Nett.org/~cord/
cord@Wunder-Nett.org IRC: Cord@Wunder-Nett
Received on Wed Jun 11 1997 - 13:05:18 MDT

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