Re: [squid-users] File Uploading Issue

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Thu, 10 Apr 2003 10:33:57 +0200

atit jariwala wrote:
>
> Thanks for reply,,
>
> In squid 2.5 stable1 we have acl with type req_mime_type ,
> which is as folllow:
> 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 fileupload req_mime_type -i ^multipart/form-data$
> can i this acl help me in restricting file upload........

 Well , in the default conf. file uploading is not allowed (already)
 To allow it you need something like :

acl fileupload req_mime_type -i ^multipart/form-data$
http_access allow fileupload

M.

>
> and in this tag i am not clear with option -i and ^multipart/form-data$.
> ^ stands for negetion? or other purpose..
>
> and for my email issue,
> i am basically want to know if i am accessing my yahoo account to send mail
> to xyz person with abc.zip as attachement,
> and i have setup transparet mode of squid. so all my 80 port request goes
> via squid..., now my question is , does squid cache abc.zip file or not?
>
> saying more clearly what ever the way if i upload file which request must
> pass squid, does squid cache it?
> and if so i want to restrict it.
> == atit
Received on Thu Apr 10 2003 - 02:34:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:54 MST