Hi
I am testing varnish, and I need to allow our internal development
net to purge documents.
It works perfectly if i add single ip's, but when i try to add
subnets it won't work, is this a bug, or am i writing something wrong
in vcl ?
acl purge {
"localhost";
"10.10.0.0/16";
}
sub vcl_recv {
if (req.request == "PURGE") {
if (!client.ip ~ purge) {
error 405 "Not allowed.";
}
lookup;
}
}
I have also tried "10.10.0.0/255.255.0.0";
Any ideas ?
Venlig hilsen
Henrik Nicolaisen
TV 2 Interaktiv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1931 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-misc/attachments/20061106/dac76ba4/attachment.bin
I am testing varnish, and I need to allow our internal development
net to purge documents.
It works perfectly if i add single ip's, but when i try to add
subnets it won't work, is this a bug, or am i writing something wrong
in vcl ?
acl purge {
"localhost";
"10.10.0.0/16";
}
sub vcl_recv {
if (req.request == "PURGE") {
if (!client.ip ~ purge) {
error 405 "Not allowed.";
}
lookup;
}
}
I have also tried "10.10.0.0/255.255.0.0";
Any ideas ?
Venlig hilsen
Henrik Nicolaisen
TV 2 Interaktiv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1931 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-misc/attachments/20061106/dac76ba4/attachment.bin