[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haproxy
Subject:    host specific error messages
From:       Jozsef Rekedt-Nagy <jozsef.rnagy () site ! hu>
Date:       2010-11-25 6:58:26
Message-ID: 4CEE0912.7070607 () site ! hu
[Download RAW message or body]

Hello guys,

Is it possible to set host specific error files in the config?
That is to server /etc/error/503.html for www.this.com but 
/etc/error/503_alter.html for www.that.com ?
If so how? :) Both hosts are served by the same listen directive atm.

Was looking at acls and  hdr_beg(host) -i, but how could I make use of 
that inside listen?

Thanks,
Joe

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic