[PATCH] Normalizing the Host: header

Nils Goroll nils.goroll at uplex.de
Thu Feb 17 20:52:42 CET 2011


hope to have cought them all:

haggis:~/Devel/varnish-git$ find . -name \*.rst| xargs egrep 'req.http.host *~'
| grep -v '\(\?i\)'
./varnish-cache/doc/sphinx/faq/general.rst:        if (req.http.host ~
"^(www.)?example.com") {
./varnish-cache/doc/sphinx/faq/general.rst:        if (req.http.host ~
"^(www.)?example.com") {
./varnish-cache/doc/sphinx/tutorial/increasing_your_hitrate.rst:  if
(req.http.host ~ "^(www.)?varnish-?software.com") {
./varnish-cache/doc/sphinx/reference/vcl.rst:  if (req.http.host ~
"^(www.)?example.com$") {
./varnish-cache/doc/sphinx/reference/vcl.rst:	  if (req.http.host ~ "example.com") {
./varnish-cache/doc/sphinx/reference/vcl.rst:	  } elsif (req.http.host ~
"example.org") {
./varnish-cache/doc/sphinx/reference/vcl.rst:    if (req.http.host ~
"^(www.)?example.com$") {
./varnish-cache/doc/sphinx/reference/vcl.rst:    if (req.http.host ~
"^(www.)?example.com$") {
./varnish-cache/doc/sphinx/reference/vcl.rst:    } elsif (req.http.host ~
"^images.example.com$") {
./varnish-cache/doc/sphinx/reference/varnishd.rst:    req.http.host ~
"^(www\.)example.com$" && obj.set-cookie ~ "USERID=1663"

-- 

** * * 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/dd50c05f/attachment-0003.pgp>


More information about the varnish-dev mailing list