<div dir="ltr">Why isn't unsetting the host header (to let varnish use .host_header) acceptable?<br><div class="gmail_extra"><br></div><div class="gmail_extra">I wouldn't worry about the performance impact of strstr, but if you really don't like it, you can do this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">   if ("somebackend" == bereq.backend + "")</div><div class="gmail_extra"><br></div><div class="gmail_extra">to force the type conversion. If you feel really nostalgic, you can even do:</div><div class="gmail_extra"><br></div><div class="gmail_extra">   if ("xsomebackend" == "x" + bereq.backend)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">But only a madman would take pleasure in this.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard</div></div></div></div></div>