Ignore:
Timestamp:
2011-02-17 22:12:51 (3 years ago)
Author:
Per Buer <perbu@…>
Branches:
master, 3.0, 4.0, experimental-ims
Children:
b6ec42
Parents:
84b7dd
git-author:
Per Buer <perbu@…> (2011-02-17 22:12:51)
git-committer:
Per Buer <perbu@…> (2011-02-17 22:12:51)
Message:

Add a bunch of (?i) to get the message that the Host: header is case insensitive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/sphinx/tutorial/increasing_your_hitrate.rst

    r71e1ee6 r4600ac  
    178178setting up redirects or by using the following VCL:: 
    179179 
    180   if (req.http.host ~ "^(www.)?varnish-?software.com") { 
     180  if (req.http.host ~ "(?i)^(www.)?varnish-?software.com") { 
    181181    set req.http.host = "varnish-software.com"; 
    182182  } 
Note: See TracChangeset for help on using the changeset viewer.