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

Cristiano Fernandes (chm0d) chm0dz at gmail.com
Wed May 4 19:48:24 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110504/ee58686d/attachment-0003.html>


More information about the varnish-misc mailing list