atom feed7 messages in ru.sysoev.nginxRe: Condition to match a missing "Hos...
FromSent OnAttachments
Luigi PerrotiAug 21, 2008 8:19 am 
Igor SysoevAug 21, 2008 8:26 am 
Luigi PerrotiAug 21, 2008 9:16 am 
Igor SysoevAug 21, 2008 9:45 am 
Luigi PerrotiAug 21, 2008 10:21 am 
Igor SysoevAug 21, 2008 10:37 am 
Luigi PerrotiAug 21, 2008 11:20 am 
Subject:Re: Condition to match a missing "Host:" header
From:Igor Sysoev (is-G@public.gmane.org)
Date:Aug 21, 2008 8:26:55 am
List:ru.sysoev.nginx

On Thu, Aug 21, 2008 at 05:20:09PM +0200, Luigi Perroti wrote:

I'm trying to write a simple if condition, inside a location block, that evaluates true when the client didn't send a Host header.

I tried many combinations using the $host variable but no luck so far. Any hints?

Why do you need to test it ? Have you tried the configuration in my previous mail ?