Re: redirect prefix, use variable host

2012-05-23 Thread Finn Arne Gangstad
On Thu, May 17, 2012 at 2:41 PM, Willy Tarreau w...@1wt.eu wrote: Hi, On Wed, May 16, 2012 at 05:05:05PM +0200, hapr...@serverphorums.com wrote: I think I am in this exact same boat. I have a site with wildcard subdomains as well. Is there an ETA on this this pattern extraction? I browsed

Re: redirect prefix, use variable host

2012-05-17 Thread Willy Tarreau
Hi, On Wed, May 16, 2012 at 05:05:05PM +0200, hapr...@serverphorums.com wrote: I think I am in this exact same boat. I have a site with wildcard subdomains as well. Is there an ETA on this this pattern extraction? I browsed the changelogs up through 5/14/2012 and it looks like there could

Re: redirect prefix, use variable host

2012-05-17 Thread Richard Stanford
That would actually help us out a lot also. I'd dug into the code to see if there was a simple way to add the functionality we need but its obviously been too long since I've written system-level C code for me to make a confident patch. We currently use an instance of Apache purely to

Re: redirect prefix, use variable host

2012-05-16 Thread haproxy
I think I am in this exact same boat. I have a site with wildcard subdomains as well. Is there an ETA on this this pattern extraction? I browsed the changelogs up through 5/14/2012 and it looks like there could be some possible headway on this. Can someone please confirm? Are there any other

Re: redirect prefix, use variable host

2011-04-21 Thread Vivek Malik
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.

Re: redirect prefix, use variable host

2011-04-20 Thread Vivek Malik
I found a hacky way to do it from mailing list archives http://www.mail-archive.com/haproxy@formilux.org/msg03323.html Regards, Vivek On Wed, Apr 20, 2011 at 10:09 PM, Vivek Malik vivek.ma...@gmail.com wrote: Hi, I am trying to issue a redirect via haproxy and want to reuse the host