Question about Cache Purge

Brian Pan brian.pan at
Thu Jul 9 21:17:35 CEST 2009

Hi all,

I have a newbie question regarding 'purging the cache.'  When I run the following command to purge the root domain of my website,

varnishadm -T localhost:80  purge.url ^/$

I get this error:

An error occured in receiving status.

Based on examples, I've setup my VCL as follows:

acl purge {
"my local ip address";

sub vcl_recv {
# Allow wildcard purging
if (req.request == "PURGE"){
if (!client.ip ~ purge) {
error 405 "Not allowed.";
purge_url(req.url); }


Any help would be greatly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list