Re: [squid-users] routing upload requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






From: Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>
To: azeem ahmad <azeem81@xxxxxxx>
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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux