Re: redirect prefix, use variable host

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 22 Apr 2011 07:40:07 +0200


Hi Vivek,

On Wed, Apr 20, 2011 at 11:23:11PM -0700, Vivek Malik wrote:
> I take it back. The hack doesn't seem to work. Even after changing the host
> in the request, prefix "/" is redirecting to /+uri and doesn't include the
> full host. So, its doing a relative redirect which doesn't change the
> protocol from http to https and vice-versa.
>
> Stiil looking for a solution.

I really have no solution for this right now. We planned to implement pattern extraction in 1.5 exactly for that purpose, but the lack of time has considerably delayed it. I think we'll release 1.5 without it :-/

Regards,
Willy Received on 2011/04/22 07:40

This archive was generated by hypermail 2.2.0 : 2011/04/22 07:45 CEST