*** squidguard.conf ***
-----------------------
logdir /var/log/squidguard # путь к лог директории
dbhome /var/lib/squidguard # путь к базам
rewrite download {
s@.*\.mp3$@http://192.168.2.9/squid/empty.wav@i
log download_log.log
}
src student {
ip 192.168.2.1-192.168.2.40
ip 192.168.2.42-192.168.2.254
}
src my {
ip 192.168.2.41
}
dest hands {
domainlist hands/domains
urllist hands/urls
}
acl {
student { pass !hands all
rewrite download
}
my { pass !hands all
rewrite download
}
default {
pass none
redirect http://192.168.2.9/squid/empty.gif
log /var/log/squidguard/default.log
}
}
*** squid.conf ***
------------------
http_port 8080
icp_port 3130
hierarchy_stoplist cgi-bin ? chat
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 20 MB
maximum_object_size 3000 KB
store_avg_object_size 50 KB
cache_swap_low 97
cache_swap_high 98
cache_dir ufs /var/spool/squid 256 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
cache_swap_log /var/log/squid/swap.log
logfile_rotate 10
quick_abort_pct 60
negative_ttl 1 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
half_closed_clients on
error_directory /usr/share/squid/errors/Russian-1251
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
redirect_program /usr/bin/squidGuard
redirect_children 10
redirector_bypass on
acl all src 0.0.0.0/0.0.0.0
acl office src 192.168.2.0/255.255.255.0
acl local src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 1025-65535 # unregistered ports
acl CONNECT method CONNECT
acl FTP proto FTP
always_direct allow FTP
http_access allow office
http_access allow local
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny CONNECT
http_access deny all
В чем может быть проблема? Все остальное режется отлично, а вот mp3 никак :(