Hi Peter,

Which HAProxy version are you running?
what's your whole configuration settings?

Baptiste


On Wed, May 20, 2015 at 12:18 PM, Peter BUtler
<peter_butler1...@outlook.com> wrote:
> Sorry, I pressed send a little early on this.  MOre information
>
> backend https_mysite
>    mode http
>    option tcp-check
>    reqrep ^([^\ ]*\ )//(.*)    \1/\2
>    server webserver 10.1.1.1:80 check
>
> Any ideas what I have missed in getting this to work?
>
> From: Peter BUtler
> Sent: Wednesday, May 20, 2015 9:16 AM
> To: haproxy@formilux.org
> Subject: Remove // from URL
>
> I have a site: https://mysite.com    After a little browsing, something
> within the app gives a https://mysite.com//something or
> https://mysite.com//other-thing
>
> Notice the double slash.  If it exists, how do I remove the second slash
> for all contexts?
>
> I assume a reqrep will do it, but I have not managed to work it out?
>
> Back to basics, this is what I have that it resulting in the //
>
> acl is_mysite hdr_end(host) -i mysite.com
> use_backend https_mysite if is_mysite
>
>
> thanks

Reply via email to