Re: http-reuse always, work quite well

2016-10-27 Thread Willy Tarreau
Hi Brendan, On Sat, Oct 22, 2016 at 11:39:51AM -0400, Brendan Kearney wrote: > On 10/22/2016 02:08 AM, Willy Tarreau wrote: > > > You're welcome. Please note that the reuse mechanism is not perfect and > > can still be improved. So do not hesitate to report any issue you find, > > we definitely

Re: Haproxy 1.6.9 failed to compile regex

2016-10-27 Thread Willy Tarreau
On Thu, Oct 27, 2016 at 05:43:38PM +0200, Lukas Tribus wrote: > Hello, > > > Am 08.09.2016 um 17:48 schrieb Lukas Tribus: > > > > > Means that haproxy -vv reported "Built with PCRE version" version > > > wrong previously. That confused me. > > > > This returns the output of pcre_version() and

Unsubscribe

2016-10-27 Thread Zineb Swidnane
Unsubscribe

Re: stick table entries in use

2016-10-27 Thread Gernot Pörner
> On Thu, Oct 27, 2016 at 12:29:56PM +, Gernot Pörner wrote: >> > That's expected. "use>0" means that some sessions still track this entry, >> > so it cannot be removed. The value represents the number of trackers >> > still on it. It is possible that you're having some persistent HTTP >> >

Re: stick table entries in use

2016-10-27 Thread Willy Tarreau
On Thu, Oct 27, 2016 at 12:29:56PM +, Gernot Pörner wrote: > > That's expected. "use>0" means that some sessions still track this entry, > > so it cannot be removed. The value represents the number of trackers > > still on it. It is possible that you're having some persistent HTTP > >

Re: Haproxy 1.6.9 failed to compile regex

2016-10-27 Thread Lukas Tribus
Hello, Am 08.09.2016 um 17:48 schrieb Lukas Tribus: Means that haproxy -vv reported "Built with PCRE version" version wrong previously. That confused me. This returns the output of pcre_version() and yes, the text should be renamed to "Running with PCRE version", because the runtime

Re: stick table entries in use

2016-10-27 Thread Gernot Pörner
> From: "Willy Tarreau" > To: "Gernot Pörner" > Cc: "haproxy" > Sent: Wednesday, October 26, 2016 7:00:49 PM > Subject: Re: stick table entries in use > Hi, > > On Wed, Oct 26, 2016 at 11:11:23AM +, Gernot Pörner wrote: >> Hi, >>

Re: Can I specify a wildcard redirect

2016-10-27 Thread Jürgen Haas
Am 27.10.2016 um 13:30 schrieb Jürgen Haas: >> ​However Michael's suggestion of "http-request redirect code 301 >> location %[capture.req.uri,regsub(^/de,)] if { path_beg /de }" looks >> even better. > > That looks great indeed. I'll give that a try and will report back. It is working! Thank you

Re: Can I specify a wildcard redirect

2016-10-27 Thread Jürgen Haas
> ​However Michael's suggestion of "http-request redirect code 301 > location %[capture.req.uri,regsub(^/de,)] if { path_beg /de }" looks > even better. That looks great indeed. I'll give that a try and will report back.

Re: Can I specify a wildcard redirect

2016-10-27 Thread Andrew Smalley
​ Jurgen following the rules I shared, maybe a different curl command or option shows you better. this is using the same rule I previously provided curl --head shows the information you have not been seeing. [root@home htdocs]# curl --head http://192.168.0.99/ HTTP/1.1 200 OK Date: Thu, 27 Oct

Re: Can I specify a wildcard redirect

2016-10-27 Thread Michael Ezzell
On Oct 27, 2016 6:41 AM, "Jürgen Haas" wrote: > > Thanks Andrew, > > I still believe that your example is not redirecting, it is forwarding > to the Apache server which responds with a 200 and the same content as > before. > > But what we're loking for is a redirect

Re: Can I specify a wildcard redirect

2016-10-27 Thread Jürgen Haas
I guess I have an explanation why the following set of rules does NOT execute the redirect although it executes the reqirep which has the same condition: backend backend_test http-response add-header X-Via TEST acl do_redirect path_beg /de/ reqirep "^([^\ :]*)\ /de/(.+)" "\1\ /\2" if

Re: Can I specify a wildcard redirect

2016-10-27 Thread Andrew Smalley
Hello Jürgen I have what is below which as I say seems to work and redirects to /something when /de/something is provided and at the bottom I have a couple of tests. I've also put the response back in the list as I must have clicked reply not reply to all. frontend http bind 192.168.0.99:80

Re: Can I specify a wildcard redirect

2016-10-27 Thread Jürgen Haas
Hi Andrew, You mean just the reqrep line on its own does the redirect? Because if not I would then require the redirect line in addition which then would cause that loop. Or is your approach just forwarding the corrected URi to the backend such that it deals with the that and responds as if the

Re: IT Industry Professionals' business contacts

2016-10-27 Thread Natasha Cleary
Hello, I hope you are healthy and happy. I'm curious to learn if you would be interested in obtaining connections from Information and Networking Security, IT/Telecommunications and Financial Services as the below job titles for your sales, marketing, and promotional pursuits pro the Trade

Re: [ANNOUNCE] haproxy-1.7-dev5

2016-10-27 Thread Aleksandar Lazic
Hi. Am 26-10-2016 23:54, schrieb Cyril Bonté: Le 26/10/2016 à 23:31, Willy Tarreau a écrit : Hi Cyril, On Wed, Oct 26, 2016 at 11:19:29PM +0200, Cyril Bonté wrote: Hi all, Le 25/10/2016 à 23:15, Willy Tarreau a écrit : Hi, HAProxy 1.7-dev5 was released on 2016/10/25. It added 65 new