Search squid archive

time ACL not working properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have this external ACLs file included in squid.conf as "include /etc/squid/mediatypes.list" rite after http_port 3128 transparent line. The problem is that it is block every thing i listed but not following the "time" ACL I've applied with it. Any idea what could be wrong here?

# Media Streams

acl MediaTypesBusinessHours time MTWHF 9:00-13:00
acl MediaTypesBusinessHours time MTWHF 14:30-19:00

## Active Stream Format (Windows Media Player)
acl media rep_mime_type video/x-ms-asf
acl mediapr urlpath_regex \.(afx|asf|asr|asx)(\?.*)?$

## Flash Video Format
acl media rep_mime_type video/flv video/x-flv
acl mediapr urlpath_regex \.flv(\?.*)?$

acl media rep_mime_type application/x-amf

acl media rep_mime_type video/mp4
acl mediapr urlpath_regex \.mp4(\?.*)?$

## Flash General Media Scripts (Animation)
#acl media rep_mime_type application/x-shockwave-flash
#acl mediapr urlpath_regex \.swf(\?.*)?$

acl media rep_mime_type video/x-msvideo
acl mediapr urlpath_regex \.avi(\?.*)?$

acl media rep_mime_type video/x-la-asf
acl mediapr urlpath_regex \.(lsf|lsx)(\?.*)?$

acl media rep_mime_type video/quicktime
acl mediapr urlpath_regex \.(qt|mov)(\?.*)?$

acl media rep_mime_type video/wmv
acl mediapr urlpath_regex \.wmv(\?.*)?$

acl media rep_mime_type video/mpeg
acl mediapr urlpath_regex \.(mp2|mpa|mpe|mpeg|mpg|mpv2)(\?.*)?$

## Others currently unknown
acl media rep_mime_type ms-hdr
acl media rep_mime_type x-fcs

http_access deny mediapr MediaTypesBusinessHours
http_reply_access deny media MediaTypesBusinessHours

--

Regards,

Asim Ahmed Khan
IT Manager,
Folio3 (Pvt.) Ltd. www.folio3.com
Direct: 92-21-4323721-4 Ext 110
Email: aahmed@xxxxxxxxxx


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux