help with purging

Dag-Erling Smørgrav des at linpro.no
Thu Apr 17 21:25:59 CEST 2008


"Pavel Pragin" <ppragin at SolutionSet.com> writes:
> Please help me get Purging working. I am really stuck. I followed the
> directions in this link:
> http://varnish.projects.linpro.no/wiki/VCLExamplePurging

So far so good...

> I added these lines to my VCL configuration file and restarted Varnish:
>
> sub vcl_hit {
>         if (req.request == "PURGE") {
>                 set obj.ttl = 0s;
>                 error 200 "Purged.";
>         }
> }

So you *didn't* follow the instructions.  Try again.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list