In message <[EMAIL PROTECTED]>, Ricardo N
ewbery writes:
>
>On Sep 19, 2007, at 10:35 AM, Poul-Henning Kamp wrote:
>
>> In message  
>> <[EMAIL PROTECTED]>, "Cale
>> b Anthony" writes:
>>> Hello,
>>>
>>> It doesn't appear that VCL supports case insensitive regular
>>> expressions. Is this true?
>>
>> Yes because I didn't think of that.
>
>
>Hmm... won't this potentially mess up support for multiple hostnames/ 
>backends?  Using the example from the man page:
>
>          if (req.http.host ~ "^(www.)?example.com$") {
>              set req.backend = www;
>          }
>
>I assumed this would match example.com and Example.com.  Is this not  
>the case?

Now it is, I just changed regexp's to be case insensitive.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to