ginal Message-
From: Norman Branitsky
Sent: Monday, August 27, 2018 6:53 PM
To: 'Tim Düsterhus' ; haproxy
Subject: RE: URL rewrite
Your examples are all correct.
-Original Message-
From: Tim Düsterhus
Sent: Monday, August 27, 2018 6:22 PM
To: Norman Branitsky ; haproxy
S
Your examples are all correct.
-Original Message-
From: Tim Düsterhus
Sent: Monday, August 27, 2018 6:22 PM
To: Norman Branitsky ; haproxy
Subject: Re: URL rewrite
Norman,
Am 27.08.2018 um 23:45 schrieb Norman Branitsky:
> I need to rewrite my URLs according to the following patt
Norman,
Am 27.08.2018 um 23:45 schrieb Norman Branitsky:
> I need to rewrite my URLs according to the following pattern:
> cloud.example.com/?query
> becomes:
> .cloud.example.com/main?query
>
> HAProxy will terminate SSL - I have a wildcard certificate for
> *.cloud.example.com.
> As the target
I need to rewrite my URLs according to the following pattern:
cloud.example.com/?query
becomes:
.cloud.example.com/main?query
HAProxy will terminate SSL - I have a wildcard certificate for
*.cloud.example.com.
As the target servers are running Docker Enterprise, I do not need DNS entries
for
eve
: RE: URL Rewrite
OK.
Here is my config file, I have added the http-server-close option. I've read
that is necessary to get reqirep to work properly since it does not work in
tunnel mode.
global
log /dev/loglocal0
log /dev/loglocal1 notice
chroot /va
2014 3:40 AM
To: JDzialo John
Cc: haproxy@formilux.org
Subject: Re: URL Rewrite
John,
might be an issue somewhere else in your conf, cause your rewrite works
properly.
Baptiste
On Sun, Aug 31, 2014 at 4:03 PM, JDzialo John wrote:
> OK.
>
>
>
> So I tried a few things I found o
aptiste [mailto:bed...@gmail.com]
> Sent: Friday, August 29, 2014 5:24 PM
> To: JDzialo John
> Cc: haproxy@formilux.org
> Subject: Re: URL Rewrite
>
>
>
>
>
>
>
> On Fri, Aug 29, 2014 at 10:50 PM, JDzialo John wrote:
>
> I want to capture the URL coming in
Sent: Friday, August 29, 2014 5:24 PM
To: JDzialo John
Cc: haproxy@formilux.org
Subject: Re: URL Rewrite
On Fri, Aug 29, 2014 at 10:50 PM, JDzialo John
mailto:jdzi...@edrnet.com>> wrote:
I want to capture the URL coming in and rewrite it to a new location.
Take this...
http://web.foo.c
On Fri, Aug 29, 2014 at 10:50 PM, JDzialo John wrote:
> I want to capture the URL coming in and rewrite it to a new location.
>
>
>
> Take this...
>
>
>
>
> http://web.foo.com/ordering/vaporencroachment/vaporencroachment.html?pguid=12957559-e75e-4daf-a8c6-928030d714a9&lsessguid=b667871e-f11a-496
I want to capture the URL coming in and rewrite it to a new location.
Take this...
http://web.foo.com/ordering/vaporencroachment/vaporencroachment.html?pguid=12957559-e75e-4daf-a8c6-928030d714a9&lsessguid=b667871e-f11a-4960-8ad4-bb40ac249364
And convert it to this...
http://web.foo.com/ordering
On Fri, Jul 4, 2014 at 8:42 PM, Jeffrey Scott Flesher Gmail
wrote:
> If a Picture is worth a 1000 Words:
> If the url does not have any path like this:
> http://mad-news.net/
>
> acl has_ww_uri path_beg -i /ww
> returns false
>
> reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri
> http://mad-new
If a Picture is worth a 1000 Words:
If the url does not have any path like this:
http://mad-news.net/
acl has_ww_uri path_beg -i /ww
returns false
reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri
http://mad-news.net/ww/en/
it adds the ww, the program with is wthttpd (Wt) defaults to en for
langu
I have a URL lets say:
http://example.com
I want it to be rewritten by haproxy to:
http://example.com/ww
All I want is for haproxy to rewrite the URL only if it does not have
any path, ie http://example.com, then add the ww to it, so it becomes
http://example.com/ww
I do not have Apache on the ser
On Thu, Jul 3, 2014 at 9:38 PM, Jeffrey Scott Flesher Gmail
wrote:
> I have a url that always begins with ww, ie http://domain.tdl/ww/en/..., I
> want to rewrite the url to include the ww,
> I tried the below, it works, but changes the path or something,
> because it cause the resources like css a
I have a url that always begins with ww, ie http://domain.tdl/ww/en/..., I want
to rewrite the url to include the ww,
I tried the below, it works, but changes the path or something,
because it cause the resources like css and images to not appear (404),
does anyone know how to fix this or do this
On 2010-02-06 10:55, Willy Tarreau wrote:
> reqrep ([^\ ]*)\ /action.register\?([^&]*&)*param2=bar(.*) \1\
> /newaction\?\2param2=bar\3
This does it. Looks like your Regex Kung Fu is stronger than mine. But
well, it was late :)
--Holger
Hi,
On Thu, Feb 04, 2010 at 10:31:03PM +0100, Holger Just wrote:
> On 2010-02-04 21:15, Sriram Chavali wrote:
> > I am trying to rewrite URLs using haproxy's reqirep directive. The url that
> > I am trying to rewrite is of the pattern
> > /action/register?param1=foo¶m2=bar¶m3=baz
> >
> > The URL
On 2010-02-04 21:15, Sriram Chavali wrote:
> I am trying to rewrite URLs using haproxy's reqirep directive. The url that I
> am trying to rewrite is of the pattern
> /action/register?param1=foo¶m2=bar¶m3=baz
>
> The URL that I want to be rewritten is
> /newaction?param1=foo¶m2=bar¶m3=baz on the
I am trying to rewrite URLs using haproxy's reqirep directive. The url that I
am trying to rewrite is of the pattern
/action/register?param1=foo¶m2=bar¶m3=baz
The URL that I want to be rewritten is
/newaction?param1=foo¶m2=bar¶m3=baz on the condition that whenever
param2=bar
The ordering of th
19 matches
Mail list logo