-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Gleydson Soares wrote:
>>http_access deny !allowed_mime
> 
> 
> http_reply_access deny !allowed_mime

- From the Squid configuration file:
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.

So, since his ACLs were all for req_mime_type, adding the line You
suggested doesn't solve the problem. I would venture to say that the
"-i" may be causing problems, since it's not listed as an option to
req_mime_type. Uncommenting the "#http_access allow allowed_hosts" line
would undoubtedly make a difference, too.

Doesn't this question belong on a Squid users list?

                -&

- --
GPG key / Schl|ssel -- http://simultan.dyndns.org/~arjones/gpgkey.txt
Encrypt everything. / Alles verschl|sseln.
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDRDVRoI7tqy5bNGMRA3iXAKCkxyEnTm+mDovjjl+ZbGg3doJSmACgvxt7
Zi17DIeD/nYMfj/GPJIPRSI=
=YWpU
-----END PGP SIGNATURE-----

Reply via email to