Re: [squid-users] Allowing downloads from certain sites

2012-07-01 Thread Chaitanya Shastri
Hi, Finally got that working!!! The following configuration worked for me: acl download_sites dstdomain .microsoft.com .apache.org http_reply_access allow download_sites Thanks Amos and Edmonds. On Sat, Jun 30, 2012 at 2:04 PM, Amos Jeffries wrote: > On 30/06/2012 1:00 a.m., Edmond

Re: [squid-users] Allowing downloads from certain sites

2012-06-30 Thread Amos Jeffries
On 30/06/2012 1:00 a.m., Edmonds Namasenda wrote: Shastri, That is what we are trying to help you solve. Are we writing gibberish?! At the http_access restricting downloads, add something like "!\.example\.com" (without the quotation marks) Ah, sorry. You were right I overlooked that goodsites

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Edmonds Namasenda
Shastri, That is what we are trying to help you solve. Are we writing gibberish?! At the http_access restricting downloads, add something like "!\.example\.com" (without the quotation marks) Else, provide more accurate information for faster troubleshooting if that fails. Many people dump their w

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Chaitanya Shastri
Hi, My question is simple. I have blocked all the downloads on my LAN systems using acl rules. But there is a trusted domain, say "example.com" from which users on my LAN should be able to download any file. For example: zip or exe file. I do not have site restriction on that site. So all users c

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Edmonds Namasenda
>> Shastri, try the below >> >> Assume... >> 1. Preventing Downloads File (nodowns.txt) has the following >> \.msi$ >> \.exe$ >> \.zip$ >> \.etc$ The above is regex >> >> 2. Trusted Sites File (goodsites.txt) has the following >> *.*microsoft*.com* >> *.*windows*.com* >> *.*etc*.com*.com* > > > W

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Amos Jeffries
On 29/06/2012 11:02 p.m., Edmonds Namasenda wrote: Shastri, try the below Assume... 1. Preventing Downloads File (nodowns.txt) has the following \.msi$ \.exe$ \.zip$ \.etc$ 2. Trusted Sites File (goodsites.txt) has the following *.*microsoft*.com* *.*windows*.com* *.*etc*.com*.com* WTF? Does

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Edmonds Namasenda
Shastri, try the below Assume... 1. Preventing Downloads File (nodowns.txt) has the following \.msi$ \.exe$ \.zip$ \.etc$ 2. Trusted Sites File (goodsites.txt) has the following *.*microsoft*.com* *.*windows*.com* *.*etc*.com*.com* 3. Accompanying ACLs for files above acl nodowns urlpath_regex -

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Chaitanya Shastri
Hi Amos, I have acl rules for preventing downloads on client machines. So a client cannot download any file (for example, .exe, .zip .. etc ) on his/her machine. What I want is that all clients should be able to download any type of file from certain trusted domain. In short I want to allow a

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Amos Jeffries
On 29/06/2012 6:10 p.m., Chaitanya Shastri wrote: Hi list, Is it possible to allow downloads from certain trusted sites? I tried using the url_regex acl to list certain trusted sites from which our users can download any file. Ex. acl allow_downloads url_regex -i ^http:\/\/example\.com

[squid-users] Allowing downloads from certain sites

2012-06-28 Thread Chaitanya Shastri
Hi list, Is it possible to allow downloads from certain trusted sites? I tried using the url_regex acl to list certain trusted sites from which our users can download any file. Ex. acl allow_downloads url_regex -i ^http:\/\/example\.com http_reply_access allow allow_downloads loca