Re: [squid-users] How to configure squid for denying users tododownload process for specified time range?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 May 2003 15:50:19 +0200

There is a small typo (error) in the rules I gave. If you run "squid
-k parse" it will tell you.

 acl download urlpath_regex -i \.zip$
 acl office_hours time 09:00-17:00
 acl GET method GET

 acl itperson src 192.168.1.88 192.168.1.89
 acl nodownload src 192.168.1.10 192.168.1.11

 http_access deny nodownload GET office_hour
                                 ^^^^^^^^^^^^ should be office_hours
 http_access allow nodownload
 http_access allow itperson
 http_access deny all.

On Friday 23 May 2003 09.52, Winanjaya wrote:
> Sorry, I am not sure that I understand what you mean exactly? I
> followed the code you suggested but the same problem still occurs (
> some peoples still can do download process, what I need is some
> peoples can browse to the internet but they are not allowed to
> download files from the internet) ..
>
> Good luck
>
> Regards
> Winan

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri May 23 2003 - 08:28:26 MDT

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