[PATCH] Normalizing the Host: header

Nils Goroll nils.goroll at uplex.de
Thu Feb 17 20:50:33 CET 2011


> I've look through "man vcl" and I can spot any errors. Any hints on
> where to look for these errors?

There are many examples for matches on the host header like

  if (req.http.host ~ "^(www.)?example.com$") {
    set req.backend = www;
  }

To accept mixed case host headers, examples for matches on http.host should all
use the (?i) option setting.

Nils

-- 

** * * UPLEX - Nils Goroll Systemoptimierung

Schwanenwik 24
22087 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753

http://uplex.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110217/5999d924/attachment-0002.pgp>


More information about the varnish-dev mailing list