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 {
"localhost";
"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.
Thanks,
Brian
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc