On Thursday 31 July 2003 10.11, atit jariwala wrote:
> Hello Squid Developers and Users,
>     I am using squid 2.5 Stable 2 on Redhat linux 7.x
>     I gone through req_mime_type tag that allows to restrict File
> Upload through HTTP POST method and it is working fine.
>     But enabling this makes squid to block file uploading for all
> upload data regardless of its media mime type such as  text/rtc
> appliction/pdf etc. I want Squid to have ACL which allows for
> example uploading of ..doc file but restrict the uploading of .exe
> .zip files
> How to do it?


You can't.

The browser does not tell the type of data is being uploaded, only 
that a form which may involve some kind of file upload is posted.

Regards
Henrik

Reply via email to