<div dir="ltr">Hi Tobias,<div><br></div><div> Ok thanks and I did remove that section from my vcl. </div><div><br></div><div> Now here's the latest from varnishlog:</div><div><br></div><div> 10 RxHeader c Host: <a href="http://ref.mydomain.com">ref.mydomain.com</a></div><div> 10 RxHeader c X-Forwarded-For: 91.207.9.170</div><div> 10 TxHeader c Server: Varnish</div><div> 10 TxHeader c Location: <a href="http://www.ref.mydomain.com">http://www.ref.mydomain.com</a></div><div><br></div><div>Ok, so it looks like the forwarding is working! Which is cool enough in itself. However when I load the domain in a browser the change doesn't happen there. I've tried loading the ref url without the www in chrome, safari and firefox (I'm on a mac). </div><div><br></div><div>Any ideas on what could be going on with that?</div><div><br></div><div>Thanks</div><div>Tim</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 6:28 AM, Norberto Meijome <span dir="ltr"><<a href="mailto:numard@gmail.com" target="_blank">numard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">+1 - FWIW, I think ( though can't confirm right now) you can raise the error regardless of caching in _recv... Of course, the flow must get to your bit of code ( .I.e., if you have a return pass or return lookup it may not get to your error 750)</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On 25/11/2014 4:57 am, "Tobias Eichelbrönner" <<a href="mailto:tobias.eichelbroenner@lamp-solutions.de" target="_blank">tobias.eichelbroenner@lamp-solutions.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tim,<br>
<br>
you log is telling you are accessing <a href="http://www.ref.mydomain.com" target="_blank">www.ref.mydomain.com</a><br>
<br>
> 11 TxHeader b Host: <a href="http://www.ref.mydomain.com" target="_blank">www.ref.mydomain.com</a><br>
<br>
is there any chance, you still have the snipped<br>
<br>
if (req.http.host ~ "^ref\.mydomain\.com$") {<br>
set req.http.host = "<a href="http://www.ref.mydomain.com" target="_blank">www.ref.mydomain.com</a>";<br>
}<br>
<br>
active? If so, delete it.<br>
<br>
Sincerely,<br>
<br>
Tobias<br>
<br>
--<br>
LAMP solutions GmbH<br>
Gostenhofer Hauptstrasse 35<br>
90443 Nuernberg<br>
<br>
Amtsgericht Nuernberg: HRB 22366<br>
Geschaeftsfuehrer: Heiko Schubert<br>
<br>
Es gelten unsere allgemeinen Geschaeftsbedingungen.<br>
<a href="http://www.lamp-solutions.de/agbs/" target="_blank">http://www.lamp-solutions.de/agbs/</a><br>
<br>
Telefon : 0911 / 376 516 0<br>
Fax : 0911 / 376 516 11<br>
E-Mail : <a href="mailto:support@lamp-solutions.de" target="_blank">support@lamp-solutions.de</a><br>
Web : <a href="http://www.lamp-solutions.de" target="_blank">www.lamp-solutions.de</a><br>
Facebook : <a href="http://www.facebook.com/LAMPsolutions" target="_blank">http://www.facebook.com/LAMPsolutions</a><br>
Twitter : <a href="http://twitter.com/#!/lampsolutions" target="_blank">http://twitter.com/#!/lampsolutions</a><br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">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>
</div></div><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><br clear="all"><div><br></div>-- <br><div class="gmail_signature">GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br></div>
</div>