[squid-users] how to use req_mime_type tag to restrict File Upload

From: updatemyself . <updatemyself@dont-contact.us>
Date: Fri, 18 Aug 2006 17:08:21 +0530

Hi all,

how to use req_mime_type tag to restrict File Upload

my squid.conf

acl deny_mime rep_mime_type -i ^application/pdf$
acl deny_mime rep_mime_type -i ^image/gif$

acl iasnet src 192.168.1.0/255.255.255.0

http_access deny deny_mime
http_access allow iasnet

but i was still able to upload pdf files and gif files...
can anyone help me about this..

i am using squid-2.5.STABLE6-3.4E.12
with Red Hat Enterprise Linux WS (2.6.9-34.EL)

thank you in advance
jerrynikky.
Received on Fri Aug 18 2006 - 05:38:23 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT