[Workaround] Backend SICK!!! (HELP!!!)

Ken Brownfield kbrownfield at google.com
Wed May 4 21:44:49 CEST 2011


The first thing I see wrong is that you aren't explaining your problem.  You
might find that you can figure out the issue yourself if you work through a
full explanation.
-- 
kb



On Wed, May 4, 2011 at 10:48, Cristiano Fernandes (chm0d)
<chm0dz at gmail.com>wrote:

> Ops... sorry
>
> vcl_fetch and other is vcl_error
>
>
>         if (req.http.host == "www.domain.com" && req.url ~ "^/$" &&
> beresp.status != 200) {
>                 C{
>                         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));
>                 }C
>                 set beresp.saintmode = 30s;
>                 restart;
>         }
>         set beresp.grace = 30m;
>
> :)
>
>
> On Wed, May 4, 2011 at 2:46 PM, Cristiano Fernandes (chm0d) <
> chm0dz at gmail.com> wrote:
>
>> Whats is worng?
>>
>> vcl_fetch.
>>
>>
>>         # MAGICMARKER - if error !=200 fetch on cache.
>>         if (req.restarts == 0 && req.url ~ "^/$" && obj.status != 200) {
>>                 C{
>>                         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));
>>                 }C
>>                 set req.http.magicmarker = "sick";
>>                 restart;
>>         }
>>
>> ???? HELP!!!!
>>
>> --
>> _______
>>  Cristiano Fernandes
>> Google is my shepherd, no want shall I know
>>
>
>
>
> --
> _______
>  Cristiano Fernandes
> Google is my shepherd, no want shall I know
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110504/e1fafc00/attachment-0003.html>


More information about the varnish-misc mailing list