[squid-users] routing upload requests

azeem ahmad azeem81 at msn.com
Fri Apr 14 16:02:26 UTC 2006




>From: Henrik Nordstrom <henrik at henriknordstrom.net>
>To: azeem ahmad <azeem81 at msn.com>
>Subject: Re: [squid-users] routing upload requests
>Date: Fri, 14 Apr 2006 00:57:59 +0200
>
>tor 2006-04-13 klockan 19:16 +0000 skrev azeem ahmad:
> > >
> > >cache_peer_access with the req_header acl should be able to do it.
> > >
> > >acl large_upload req_header Content-length [1-9][0-9]{7} [2-9][0-9]{6}
> > >
> > >or if one wants to go fancy on regex syntax
> > >
> > >acl large_upload req_header Content-length ([2-9]|[1-9][0-9])[0-9]{6}
> > >
> > >
> > >2.5.STABLE8 or later required.
> > >
> > >Regards
> > >Henrik
> >
> > ok
> > can you explain it a bit for me please
>
>
>Which part? Where to find the cache_peer_access directive, or what the
>regexes above means?
>
>Regards
>Henrik


that reg_ex
i.e.

acl large_upload req_header Content-length [1-9][0-9]{7} [2-9][0-9]{6}
and
acl large_upload req_header Content-length ([2-9]|[1-9][0-9])[0-9]{6}

Regards
Azeem





More information about the users mailing list