<div dir="ltr">Thanks. I'll give it a shot and see how it goes.<div><br></div><div>Eran<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 10:19 AM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">In message <<a href="mailto:e6b3e5a61002210221q42a5f6a4v90b595c81a6eaf5b@mail.gmail.com">e6b3e5a61002210221q42a5f6a4v90b595c81a6eaf5b@mail.gmail.com</a>>, Eran<br>


<div class="im">Sandler writes:<br>
<br>
>I tried setting the header in vcl_recv (set req.http.MyHeader = "1";),<br>
</div>>[...] but it doesn't seem to get sent to the backend.<br>
<br>
That should work.<br>
<br>
Try running varnishlog, and keep an eye on the "TxHeader" lines, which<br>
show what is sent to the backend.<br>
<br>
You can also enable the vcl_trace parameter, which will put records<br>
into the varnishlog, with line+char_pos of the VCL as it is executed.<br>
<font color="#888888"><br>
--<br>
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG         | TCP/IP since RFC 956<br>
FreeBSD committer       | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></blockquote></div><br></div></div>