On Thursday 20 December 2001 08.22, Brian wrote:
> You are filtering REQUEST mime type (as in POST file uploads). Squid 2.5
> has a reply mime type acl, but I haven't looked up the name for it.
The acl type is rep_mime_access, and must be used from the new
http_reply_access directive.
Regards
Henrik Nordstr�m
acl aclname req_mime_type mime-type1 ...
# regex match agains the mime type of the request generated
# by the client. Can be used to detect file upload or some
# types HTTP tunelling requests.
# NOTE: This does NOT match the reply. You cannot use this
# to match the returned file type.
acl aclname rep_mime_type mime-type1 ...
# regex match against the mime type of the reply recieved by
# squid. Can be used to detect file download or some
# types HTTP tunelling requests.
# NOTE: This has no effect in http_access rules. It only has
# effect in rules that affect the reply data stream such as
# http_reply_access.
# TAG: http_reply_access
# Allow replies to client requests. This is complementary to
http_access.
#
# http_reply_access allow|deny [!] aclname ...
#
# NOTE: if there are no access lines present, the default is to allow
# all replies
#
# If none of the access lines cause a match, then the opposite of the
# last line will apply. Thus it is good practice to end the rules
# with an "allow all" or "deny all" entry.
-- MARA Systems AB, Giving you basic free Squid support Customized solutions, packaged solutions and priority support available on requestReceived on Thu Dec 20 2001 - 03:04:13 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:25 MST