I think TxHeader meant the header being sent to the backend server or application, so if VCL is working then it should send the referrer what i want and not wat it is receiving.<div><br></div><div>So you think it is possible with this directive in varnish vcl to change or blank referrer of the incoming traffic? Are there any other ways to do it in vcl?<br>
<br><div class="gmail_quote">On Sat, Feb 16, 2013 at 8:27 AM, James Pearson <span dir="ltr"><<a href="mailto:james@ifixit.com" target="_blank">james@ifixit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Excerpts from tousif baig's message of 2013-02-14 22:49:09 -0800:<br>
<div class="im">> I was wondering if its possible to blank referrers with varnish and then<br>
> send it to the server for further processing.<br>
><br>
</div>> I tried this with *req.http.referer *and then *set req.http.referer* in<br>
<div class="im">> varnish 2.1 on centos 32-bit machine but it didn't work when i checked the<br>
</div>> results with the command *varnishtop -i TxHeader -I Referer*<br>
<br>
If I was testing a rule like that, I'd do logging inside my backend<br>
application, not Varnish. I believe that if you look at incoming requests,<br>
you'll see the headers before they are modified by your VCL, but I may be<br>
mistaken on that.<br>
- P<br>
<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div><br></div>