Significance of hash_data and the rest of the vcl ecosystem.

Tollef Fog Heen tfheen at varnish-software.com
Fri Mar 30 09:22:39 CEST 2012


]] Kim Eik

> However, are other commands like ban() affected by the hash_data?
> 
> so if i were to ban_url(/some/url) would it only ban /some/url for the
> JSESSIONID hash it was operating under or would it affect all requests
> against /some/url regardless?

No, ban_url(x) is just shorthand for ban("req.url ~ " + x).  That only
looks at the value of req.url, not any other variables.

-- 
Tollef Fog Heen
Technical lead, Varnish Software
t: +47 21 98 92 64



More information about the varnish-misc mailing list