help with purging

Pavel Pragin ppragin at SolutionSet.com
Thu Apr 17 20:08:21 CEST 2008


Hello,

 

Please help me get Purging working. I am really stuck. I followed the
directions in this link:
http://varnish.projects.linpro.no/wiki/VCLExamplePurging

 

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.";

        }

}

 

When I connect  to Apache on port 80 and send these command nothing
happens. I need a way to Purge on the fly!

 

[root at 155496-app3 varnish]# telnet 67.192.43.99 80

Trying 6.12.4.9...

Connected to 6.12.4.9.

Escape character is '^]'.

PURGE / HTTP/1.1

Host: www.bla.net

 

 

Thanks

 

 

.

PAVEL PRAGIN 
ppragin at solutionset.com <mailto:ejohansson at solutionset.com>  

T >  650.328.3900
M > 650.521.4377 
F >  650.328.3901 

SolutionSet 
The Brand Technology Company 
http://www.SolutionSet.com <http://www.solutionset.com/>  

PA > 131 Lytton Ave., Palo Alto, CA 94301 
SF > 85 Second St., San Francisco, CA 94105 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20080417/cd8393c1/attachment-0001.html>


More information about the varnish-misc mailing list