Re: Simple VCL help?

2019-11-27 Thread Guillaume Quintard
my bad, I missed a couple of things on the second test: sub vcl_recv { if (req.url ~ "wp-admin|wp-login" || (req.url ~ "[^?]+\?([^&]*&)*page_id=1955(&|$)" && req.url ~ "[^?]+\?([^&]*&)*edit-account(&|$)")) { return (pass); } } sorry about that -- Guillaume Quintard On Wed,

Re: Simple VCL help?

2019-11-27 Thread Alex Evonosky
Does this require some import as well? On Tue, Nov 26, 2019 at 10:12 AM Guillaume Quintard < guilla...@varnish-software.com> wrote: > Hi Alex, > > You can do: > > > *sub vcl_recv {* > * if (req.url ~ "wp-admin|wp-login" ||* > *(req.url ~ "*[^?]+\?([^&]*&)*page_id=1955(&|$)*") && * >

Re: Wrong VMOD_ABI_Version in 6.0.5 src rpm

2019-11-27 Thread Guillaume Quintard
I stand corrected. I can have a look. -- Guillaume Quintard On Wed, Nov 27, 2019 at 8:40 AM Geoff Simmons wrote: > On 11/27/19 17:27, Guillaume Quintard wrote: > >> > >> > https://packagecloud.io/varnishcache/varnish60lts/packages/el/7/varnish-6.0.5-1.el7.src.rpm > > Note version 6.0.5. > >

Re: Wrong VMOD_ABI_Version in 6.0.5 src rpm

2019-11-27 Thread Geoff Simmons
On 11/27/19 17:27, Guillaume Quintard wrote: >> >> https://packagecloud.io/varnishcache/varnish60lts/packages/el/7/varnish-6.0.5-1.el7.src.rpm Note version 6.0.5. >> contains a wrong VMOD_ABI_Version define. >> >> #define VMOD_ABI_Version "Varnish 6.0.4 >>

Re: Wrong VMOD_ABI_Version in 6.0.5 src rpm

2019-11-27 Thread Guillaume Quintard
Hi, Moving to varnish-misc. This isn't a mistake, the ABI version is basically the git commit hash of the version, so each new version will have a different value. Vmods can require either a loose or a strict API/ABI compatibility. Loose is only a check on the external API number (7.x at the