Thanks for your response.

I have worked it out with your help.

I just created 2 groups of users and 2 url_regex lines, popped them in the
config file in order and it works perfectly.

Thanks again..

Regards,

Greg

-----Original Message-----
From: Adam Aube [mailto:[EMAIL PROTECTED]
Sent: Friday, 11 July 2003 9:06 AM
To: [EMAIL PROTECTED]
Subject: Re: [squid-users] ACL's and blocking URL's


>I currently have an ACL setup (using regex -i) to block certain
files from
>being viewed or downloaded (eg EXE, ZIP etc) which effects everyone
using
>the cache. I now have the requirement to allow certain users from
accessing
>some websites which require the unblocking of ZIP attachments so
i would
>like to ask if anyone can advise how to setup 2 completley seperate
regex -i
>statements in the config file. All our users have static ip's so
i think
>that will make it easier.

Easy enough:

acl programs url_regex -i \.exe$ \.zip$
acl program_users src 192.168.0.1 192.168.0.2

http_access allow programs program_users
http_access deny programs

Adam







Disclaimer : 
This email and it's attachments are confidential. If you are not the intended 
recipient you must not disclose, distribute or re-produce any of it's contents as it 
may be a breach of confidentiality.  If you have received this message in error, 
please advise us immediatley by return email and delete the entire document. Ramelec 
Pty Ltd cannot guarantee the security of any information electronically transmitted 
across the Internet. Ramelec Pty Ltd does not accept responsibility for improper or 
incomplete information within this message, any delay in it's receipt and that this 
message is free of any known Virus. The address from which this email has been sent is 
strictly intended for business email only and Ramelec Pty Ltd reserves the right to 
monitor / alter it's contents at it's discretion.

This message has been scanned for the prescence of known Virus's by Gordano's GMS 
Virus Protection Package.

Reply via email to