Referencing backend definition in one include file from another include file

Per Buer perbu at varnish-software.com
Wed Jun 27 11:43:52 CEST 2012


Hi Bjorn.

On Wed, Jun 27, 2012 at 8:19 AM, Bjorn Jungskar <bjorn.jungskar at motorola.com
> wrote:

> Hi,
>
> I have one Varnish VCL file that has two include statements, one that
> allows for custom backend definitions and one that allows for custom
> URL mappings. The problem is that I get compilation errors when
> referencing the backend defined in the included file from the other
> included file.
>

I think the parameter your looking for is vcc_err_unref. Setting it to
"off" will result in a warning, not an error.


-- 
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120627/69dcd679/attachment.html>


More information about the varnish-misc mailing list