From 4eff75d1e417486d83f2847621384d8392005704 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Thu, 4 Sep 2008 22:53:49 +0000 Subject: add a few filetypes to squid --- packages/squid/squid.inc | 4 ++-- packages/squid3/squid.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 62807258..86eae1a7 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -850,9 +850,9 @@ EOD; if ($settings['throttle_specific'] == 'on') { $exts = array(); - $binaries = 'bin,cab,sea,ar,arj,tar,tgz,gz,tbz,bz2,zip,exe,com'; + $binaries = 'bin,cab,sea,ar,arj,tar,tgz,gz,tbz,bz2,zip,7z,exe,com'; $cdimages = 'iso,bin,mds,nrg,gho,bwt,b5t,pqi'; - $multimedia = 'aiff?,asf,avi,divx,mov,mp3,mp4,mpe?g,qt,ra?m'; + $multimedia = 'aiff?,asf,avi,divx,mov,mp3,mp4,wmv,mpe?g,qt,ra?m'; foreach (array( 'throttle_binaries' => $binaries, 'throttle_cdimages' => $cdimages, 'throttle_multimedia' => $multimedia) as $field => $set) { diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc index 30d26608..5a07312b 100644 --- a/packages/squid3/squid.inc +++ b/packages/squid3/squid.inc @@ -851,9 +851,9 @@ EOD; if ($settings['throttle_specific'] == 'on') { $exts = array(); - $binaries = 'bin,cab,sea,ar,arj,tar,tgz,gz,tbz,bz2,zip,exe,com'; + $binaries = 'bin,cab,sea,ar,arj,tar,tgz,gz,tbz,bz2,zip,7z,exe,com'; $cdimages = 'iso,bin,mds,nrg,gho,bwt,b5t,pqi'; - $multimedia = 'aiff?,asf,avi,divx,mov,mp3,mp4,mpe?g,qt,ra?m'; + $multimedia = 'aiff?,asf,avi,divx,mov,mp3,mp4,wmv,mpe?g,qt,ra?m'; foreach (array( 'throttle_binaries' => $binaries, 'throttle_cdimages' => $cdimages, 'throttle_multimedia' => $multimedia) as $field => $set) { -- cgit v1.2.3