Re: Returning static file on 200 OK?

From: Willy Tarreau <>
Date: Thu, 4 Sep 2008 06:03:03 +0200

On Wed, Sep 03, 2008 at 02:44:02PM -0700, Chris Charman wrote:
> I've seen that you can return a static error page, but is it possible to
> return a static file rather than actually redirecting the connection?

Yes, you can do that with "errorfile" (check in the examples directory), but you're limited to the size of a buffer (8 or 16 kB). Warning: the files are HTTP, not HTML (they have to include the status line and headers).

Willy Received on 2008/09/04 06:03

This archive was generated by hypermail 2.2.0 : 2008/09/04 06:15 CEST