Re: [squid-users] Problem with ACL (disabling download)

2010-11-08 Thread Amos Jeffries
On 03/11/10 09:57, Konrado Z wrote: But how to write properly sth like this 'http_access allow clients|managers|clients2 #Squid cannot start with that line' I want to replace 'http_access allow all' line with this given above. Best http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes

Re: [squid-users] Problem with ACL (disabling download)

2010-11-02 Thread Konrado Z
But how to write properly sth like this 'http_access allow clients|managers|clients2 #Squid cannot start with that line' I want to replace 'http_access allow all' line with this given above. Best 2010/11/2 Konrado Z : > Yep, of course it shoud be http_reply_access. > Thanks Amos it's that what I

Re: [squid-users] Problem with ACL (disabling download)

2010-11-02 Thread Konrado Z
Yep, of course it shoud be http_reply_access. Thanks Amos it's that what I need 2010/11/2 Konrado Z : > OK so I have definied > > acl webMimes rep_mime_type -i "etc/squid/mimes" > > Mimes file: > text/(html|css|plain|richtext) > application/(msword|pdf|vnd.ms-powerpoint|vnd.ms-excel|zip|x-compress

Re: [squid-users] Problem with ACL (disabling download)

2010-11-02 Thread Konrado Z
OK so I have definied acl webMimes rep_mime_type -i "etc/squid/mimes" Mimes file: text/(html|css|plain|richtext) application/(msword|pdf|vnd.ms-powerpoint|vnd.ms-excel|zip|x-compress) image/(bmp|gif|jpeg|png|tiff|gif) and http_access section: #http_access deny clients workingHours funWebsites ht

Re: [squid-users] Problem with ACL (disabling download)

2010-11-01 Thread Amos Jeffries
On Mon, 1 Nov 2010 23:01:42 +0100, Konrado Z wrote: > Thanks for your response. > >>> acl officeFiles urlpath_regex "/etc/squid/officeFiles" >>> >>> http_access deny clients workingHours funWebsites >>> http_access deny clients !officeFiles >>> http_access allow all >> >> NP: "allow all" means tr

Re: [squid-users] Problem with ACL (disabling download)

2010-11-01 Thread Konrado Z
Thanks for your response. >> acl officeFiles urlpath_regex "/etc/squid/officeFiles" >> >> http_access deny clients workingHours funWebsites >> http_access deny clients !officeFiles >> http_access allow all > > NP: "allow all" means traffic from the entire Internet. That should be > "allow clients"

Re: [squid-users] Problem with ACL (disabling download)

2010-11-01 Thread Amos Jeffries
On Mon, 1 Nov 2010 14:41:19 +0100, Konrado Z wrote: > Hello, > Thanks for reply but I still have problem > > My all acls and http_access > acl clients 192.168.56.0/24 > acl funWebsites dstdom_regex "/etc/squid/funWebsites" > acl workingHours time M T W H F 8:00-16:00 There are not meant to be an

Re: [squid-users] Problem with ACL (disabling download)

2010-11-01 Thread Konrado Z
Hello, Thanks for reply but I still have problem My all acls and http_access acl clients 192.168.56.0/24 acl funWebsites dstdom_regex "/etc/squid/funWebsites" acl workingHours time M T W H F 8:00-16:00 acl officeFiles urlpath_regex "/etc/squid/officeFiles" http_access deny clients workingHours fu

Re: [squid-users] Problem with ACL (disabling download)

2010-10-31 Thread Amos Jeffries
On 01/11/10 12:46, Konrado Z wrote: Hello, I have encountered a problem with ACL. I want to disable download all kinds of files for subnet specified except pdf, doc, xls, txt, zip. I have created officeFile file wich is shown below: \.[Dd][Oo][Cc]$ \.[Tt][Xx][Tt]$ etc. but, acl clients 192.16

[squid-users] Problem with ACL (disabling download)

2010-10-31 Thread Konrado Z
Hello, I have encountered a problem with ACL. I want to disable download all kinds of files for subnet specified except pdf, doc, xls, txt, zip. I have created officeFile file wich is shown below: \.[Dd][Oo][Cc]$ \.[Tt][Xx][Tt]$ etc. but, acl clients 192.168.56.0/24 acl officeFiles urlpath_rege