Ops... sorry<div><br></div><div>vcl_fetch and other is vcl_error</div><div><br></div><div><div><br></div><div> if (req.http.host == "<a href="http://www.domain.com">www.domain.com</a>" && req.url ~ "^/$" && beresp.status != 200) {</div>
<div> C{</div><div> syslog(LOG_INFO, "Pass on vcl_fetch with stats != 200 para ativar saintmode (%s) (%s)", VRT_r_req_url(sp), VRT_r_req_xid(sp));</div><div> }C</div>
<div> set beresp.saintmode = 30s;</div><div> restart;</div><div> }</div><div> set beresp.grace = 30m;</div><div><br></div><div>:)</div><div><br></div><br><div class="gmail_quote">
On Wed, May 4, 2011 at 2:46 PM, Cristiano Fernandes (chm0d) <span dir="ltr"><<a href="mailto:chm0dz@gmail.com">chm0dz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Whats is worng?</div><div><br></div><div>vcl_fetch.</div><div><br></div><div><br></div><div> # MAGICMARKER - if error !=200 fetch on cache.</div><div> if (req.restarts == 0 && req.url ~ "^/$" && obj.status != 200) {</div>
<div> C{</div><div> syslog(LOG_INFO, "HIT on vcl_error and config magicmarker on (%s) (%s) (%s)", VRT_r_req_url(sp), VRT_r_obj_response(sp), VRT_r_req_xid(sp));</div><div> }C</div>
<div> set req.http.magicmarker = "sick";</div><div> restart;</div><div> }</div><div><br></div>???? HELP!!!!<div><br>-- <br>_______<br> Cristiano Fernandes<br>Google is my shepherd, no want shall I know<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>_______<br> Cristiano Fernandes<br>Google is my shepherd, no want shall I know<br>
</div>