Hi Igor, On Tue, May 10, 2011 at 07:12:38PM +0800, Igor wrote: > Use conf like below in frontend, but doesn't work. Any help? > > acl bigfile shdr_val(content-length) gt 10000000 > block if bigfile
the "block" statement only applies to requests. There's no equivalent for responses, but there's a trick : using "rspdeny", you can block a response which matches some pattern. And since version 1.4, you can condition "req*"/"rsp*" rules with ACLs. So the following should do the trick : acl bigfile shdr_val(content-length) gt 10000000 rspdeny . if bigfile (block responses matching anything if ACL matches). Regards, Willy

