Re: How to block file large more than specific size?

2011-05-10 Thread Willy Tarreau
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 1000 > block if bigfile the "block" statement only applies to requests. There's no equivalent for responses, but there's a

How to block file large more than specific size?

2011-05-10 Thread Igor
Use conf like below in frontend, but doesn't work. Any help? acl bigfile shdr_val(content-length) gt 1000 block if bigfile Bests, -Igor

URL rewriting with Haproxy

2011-05-10 Thread Jérôme Féneau
Hi, I would like to make some URL rewriting with Haproxy. Basically haproxy is reverse proxying an https web site hosting an Outlook Web Access. I would like to add /owa/ at the end of the URL when users type in https://mywebsite/ or https://mywebsite. Result will look like this : https://mywebsit