On 10/1/08, Willy Tarreau <w#1wt.eu> wrote:
> Hi!
>
> On Tue, Sep 30, 2008 at 03:38:39PM +0200, Dawid Sieradzki / Gadu-Gadu wrote:
>> Hi!
>>
>> I have got some problem with url redirect in haproxy.
>> Above is some snip configuration from pound,
>> I can't so simple do that in haproxy.
>>
>> Question: There is some simple way in haproxy to redirect bad domain (the
>> sister of oryginal domain:P ) to primary domain?
>> HMM.
>>
>> <snip>
>
> I feel like what you need is simply "redirect ... if ..." which has been
> merged for 1.3.16 (not released yet). Under demands, I've put the patch
> online for 1.3.15 :
>
> http://haproxy.1wt.eu/download/patches/1.3.15-cond-redirect.diff
>
great stuff, Willy!!! I'm using an acl with a dedicated backend (and a patch for 301) right now, but this would be very useful for setting things up very easily. :)
thanks,
-jf
-- In the meantime, here is your PSA: "It's so hard to write a graphics driver that open-sourcing it would not help." -- Andrew Fear, Software Product Manager, NVIDIA Corporation http://kerneltrap.org/node/7228Received on 2008/10/01 12:32
This archive was generated by hypermail 2.2.0 : 2008/10/01 12:46 CEST