<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi there</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I used dynamically named servers on EC2, my varnish bootstrap setup configures the vcl according to the server name e.g.</p>
<p class="MsoNormal">i-f2dd2d2f</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Varnish doesn’t like the hyphen in the back end name, so I replace it out, fair enough:</p>
<p class="MsoNormal">if2dd2d2f</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Now it fails because the back end server name has the function ‘if’ in it!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I now replace this out to:</p>
<p class="MsoNormal">lol2dd2d2f</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I think it may be a bug that the ‘if’ function is interpreted in a back end variable definition like this.</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views that
 are not the views of Spotlight, unless specifically stated.<br>
</font>
<br /><br /><span style="font-family:Arial; Font-size:8.0pt"> <hr /> This email has been scanned for email related threats and delivered safely by Mimecast.<br /> For more information please visit <a href="http://www.mimecast.com" target="_blank">http://www.mimecast.com</a> <hr /> </span></body>
</html>