Добрый день!
Подскажите пожалуйста как решить мне проблему. Задача есть две группы офис и шефы. Офис не должен качать музыку и фильмы, а шефы - Боги ). Вот не как не могу сделать это расделение.
Даю конфиг:http_port 192.168.1.1:3128 transparent
cache_mgr admin@localhost
visible_hostname TEST
cache_effective_user squid
cache_effective_group squid
#cache_log /var/log/squid/cache.log
#cache_store_log /var/log/squid/store.log
pid_filename /var/log/squid/squid.pid
#pid_filename /usr/local/squid/logs/squid.pid
#access_log /var/log/squid/access.log
acl Safe_ports port 21 # ftp
acl office src 192.168.1.2-192.168.1.8/255.255.255.255
acl vip src 192.168.1.101-192.168.1.105/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl media urlpath_regex -i \.mp3$ \.avi$ \.wma$ \.mpeg$ \.mpg$ \.wav$ \.mid$ \.m4a$ \.swf$ \.vob$ \.mp4$ \.flv$ \.dat$ \.mpa$ \.mpv$ \.wmv$
http_access allow Safe_ports
http_access allow office
http_access allow vip
http_access allow media
http_access deny all
delay_pools 2
delay_class 1 1
delay_class 2 2
delay_access 1 allow media
delay_access 1 deny all
delay_access 2 allow vip
delay_access 2 deny all
delay_parameters 1 1/1
delay_parameters 2 5000000/5000000 5000000/5000000
refresh_pattern -i \.gif$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.png$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.jpg$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.jpeg$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.pdf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.zip$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.tar$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.gz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.tgz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.exe$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.prz$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.ppt$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.inf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.swf$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.mid$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.wav$ 43200 100% 43200 override-lastmod override-expire
refresh_pattern -i \.mp3$ 43200 100% 43200 override-lastmod override-expire