Checking if a host header value is true

Kevin k at kevinkevin.com
Wed Aug 3 06:26:27 CEST 2011


Hello,

 

Forgive my question but I am curious how it is possible to check if a host
header value is true in varnish. For instance :

 

If (host header X-value-whatever == "true" ){

return(pipe);

}

 

 

Can someone clarify how this would be done?

 

 

Thanks!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110803/ef7c2f6c/attachment-0003.html>


More information about the varnish-misc mailing list