On 4/28/06, [EMAIL PROTECTED]@cus <[EMAIL PROTECTED]> wrote:
Try the argument below instead of the one you gave above:
\.(wma|WMA|MP3|pls|afx|asf|asx|au|avi|divx|m3u|mp2|mp3|mpeg|mpg|qt|ra|ram|rm|viv|vivo|vob|vqf|wav|wma|wmv|vbs|shs|pif|torrent|3gp)($|\?)
Hi guys,
Im using squid for my proxy server. And i want to limit downloading of files on a time basis. Here's my config.
acl largefiles url_regex -i \.exe$ \.mp3$ \.avi$ \.mpeg$ \.ogg$
Try the argument below instead of the one you gave above:
\.(wma|WMA|MP3|pls|afx|asf|asx|au|avi|divx|m3u|mp2|mp3|mpeg|mpg|qt|ra|ram|rm|viv|vivo|vob|vqf|wav|wma|wmv|vbs|shs|pif|torrent|3gp)($|\?)
acl gypmshift time 22:01-23:59
acl gyamshift time 00:01-05:59
acl amshift time M T W H F 06:00-12:00
acl lunchbreak time 12:01-12:59
acl pmshift time M T W H F 13:00-22:00
http_access deny amshift largefiles
http_access allow lunchbreak largefiles
http_access deny pmshift largefiles
http_access allow gyamshift largefiles
http_access allow gypmshift largefiles
When i go to yahoo.com to download the messenger.exe, squid automatically blocks it, which is what i want. But when i go to other sites like download.com , it has a different way of downloading files. It has a popup window to save the file. Can i block this kind of downloading scheme on squid ?
tia
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
--
I'm always a newbie. I wouldn't know a damn thing if I were not!
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

