<div dir="ltr">Hi Per,<div><br></div><div>Thanks for the reply. </div><div><br></div><div>I'm sorry, I missed off the first part of the log which is</div><div><br></div><div><div>* << Request >> 2</div><div>- Begin req 1 rxreq</div><div>- Timestamp Start: 1459708682.774223 0.000000 0.000000</div><div>- Timestamp Req: 1459708682.774223 0.000000 0.000000</div><div>- HttpGarbage "PURGE%00"</div><div>- ReqAcct 47 0 47 28 0 28</div><div>- End</div><div><br></div><div>* << Session >> 1</div><div>- Begin sess 0 HTTP/1</div><div>- SessOpen 127.0.0.1 54199 :80 127.0.0.1 80 1459708682.774100 18</div><div>- Link req 2 rxreq</div><div>- SessClose RX_JUNK 0.000</div><div>- End</div></div><div><br></div><div>I realised today that it was then accessing (or trying to) /app/etc/config.php and that is what's throwing the 403.</div><div><br></div><div>I know this is more a Magento 2 question than a Varnish question but no one has replied on the Magento forum.</div><div><br></div><div>So I guess there's two questions from this now.</div><div><br></div><div>1) What does the (newly posted) log data say is happening? It seems to suggest there is a purge request but the cache doesn't seem to clear.</div><div><br></div><div>2) It's then trying to access /app/et/config.php but failing and returning 403. My vcl is generated from the Magento admin backend so should be right and the admin page where I'm flushing the cache is being accessed from https anyway, so shouldn't that mean it is totally ignored? This is a test server, so no one else is accessing the site and this request is consistent every time I hit Flush Magento Cache on the backend. Any idea why it is trying/failing to access this file?</div><div><br></div><div>Thanks</div><div>John</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 April 2016 at 19:47, Per Buer <span dir="ltr"><<a href="mailto:perbu@varnish-software.com" target="_blank">perbu@varnish-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 2, 2016 at 9:19 PM, John Risby <span dir="ltr"><<a href="mailto:john@alcoholfree.co.uk" target="_blank">john@alcoholfree.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>(..)</div><span><div>But when I hit Flush Magento Cache in admin, whilst running varnishlog, the log file says (amongst other things) - note, I've replaced my domain with {MY_DOMAIN} and my server IP with {SERVER_IP}</div><div><br></div><div>* << BeReq >> 32924</div><div>- Begin bereq 32923 pass</div><div>- Timestamp Start: 1459552787.509708 0.000000 0.000000</div><div>- BereqMethod POST</div><div>- BereqURL /app/etc/config.php</div><div>- BereqProtocol HTTP/1.1</div></span></div></div></blockquote><div><br></div><div>You (Magento) are POSTing to /app/etc/config.php. You're not purging anything here. </div></div><span><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><table border="0" cellpadding="0" cellspacing="0" style="border-bottom-width:1px;padding-top:5px;border-top-style:solid;width:550px;padding-bottom:5px;border-bottom-color:rgb(238,238,238);border-top-width:1px;border-bottom-style:solid;line-height:1.5em;border-top-color:rgb(238,238,238);color:rgb(102,102,102);font-size:12px;font-family:'Helvetica Neue',Arial,sans-serif;margin-top:20px"><tbody><tr><td width="100"><img src="http://www.varnish-software.com/static/media/logo-email.png"></td><td><font color="#222222"><span style="font-size:14px"><b>Per Buer</b></span></font><br>CTO | Varnish Software AS<br>Cell: <a value="+4790181750" style="color:rgb(17,85,204)">+47 95839117</a><br><span style="font-weight:bold">We Make Websites Fly!<br><a href="https://www.varnish-software.com/" style="color:rgb(17,85,204)" target="_blank">www.varnish-software.com</a></span></td></tr></tbody></table><br><div style="color:rgb(136,136,136)"><a href="http://info.varnish-software.com/signature" target="_blank"><img src="http://files.varnish-software.com/signature.png"></a><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div>