Unknown variable 'beresp.url'

Magnus Hagander magnus at hagander.net
Fri Jun 17 17:03:49 CEST 2011

On Fri, Jun 17, 2011 at 15:27, Kristian Lyngstol
<kristian at varnish-software.com> wrote:
> Hi Tobias,
> On Fri, Jun 17, 2011 at 11:39:17AM +0200, Tobias Hensel wrote:
>> >You wanna use req.url, e.g.
>> >sub vcl_fetch {
>> >  if (req.url ~ ....)
>> Thank you for your fast answer!
>> I thought I wanna use the statements shown in the example.
>> In the Internet, I see a lot of vcl examples where beresp.url is
>> used with 2.1 even in the official docs it is shown. So I'm a little
>> bit irritated that this does not work.
> Unfortunately we had a typo that snuck into the docs, which was fixed in
> March. And unfortunately again, the docs online for 2.1 are only updated
> when we pull changes into the 2.1 branch preparing for an other
> 2.1-release. Since we haven't had a release of 2.1 since the
> documentation-typo was fixed, the issue persists on the 2.1 web, which
> is a bit unfortunate.

Would it be much work to change it so the 2.1 docs on the web pull
from the latest branch-tip for 2.1? ;)

 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

More information about the varnish-misc mailing list