banning configuration question

Sean Allen sean at monkeysnatchbanana.com
Mon Jan 14 22:40:58 CET 2013


Hi all,

I'm trying to figure out how to do the following and I'm slightly confused
by some of the documentation around banning.

on a PUT that returns a 200 to a url matching

/foo/{\d+}/an_action
or
/foo/{\d+}/another_action

I want to ban

/foo/{\d+}

in a smart ban friendly way in my vcl.

I'm unsure as to where vcl_fetch, vcl_recv that I want to hook into and how
to ban in a smart ban friendly fashion just the /foo/{\d+}

Any help is greatly appreciated.

Thanks,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130114/21633c66/attachment.html>


More information about the varnish-misc mailing list