]> err.no Git - varnish/commit
Implement exact matching and negatives for bans.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 18 Jan 2009 15:42:29 +0000 (15:42 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 18 Jan 2009 15:42:29 +0000 (15:42 +0000)
commit5d71270d218af104496b504530f954c1988baa96
tree22807c0b06d8978ce8d8e81b074c294d0f259f54
parent311460ad2176d9fabc498b0e85a627f65109d650
Implement exact matching and negatives for bans.

You can now purge using these four conditionals:

purge req.url == "/diediedie.html"
purge req.url != "/index.html"
purge req.url !~ "\.html$"
purge req.url ~ "\.jpg$"

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3518 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_ban.c
varnish-cache/bin/varnishtest/tests/c00021.vtc