atom feed6 messages in ru.sysoev.nginxRe: Blocking blank useragent requests
FromSent OnAttachments
BobJan 24, 2010 12:19 pm 
Piotr SikoraJan 24, 2010 12:23 pm 
BobJan 25, 2010 2:43 pm 
Marcus ClyneJan 25, 2010 2:53 pm 
Cliff WellsJan 25, 2010 2:57 pm 
BobJan 25, 2010 4:05 pm 
Subject:Re: Blocking blank useragent requests
From:Cliff Wells (cli@develix.com)
Date:Jan 25, 2010 2:57:31 pm
List:ru.sysoev.nginx

On Tue, 2010-01-26 at 00:54 +0200, Marcus Clyne wrote:

Hi,

Bob wrote:

Thanks for the response, greatly appreciated :) However I'm getting Unknown
directive 'if' when trying to add this into my nginx config - any ideas?

Is your 'if' statement under a server or location block? If not, it won't work.

http://wiki.nginx.org/NginxHttpRewriteModule#if

Also, as that URL indicates, "if" is part of the rewrite module, so that must be compiled in.

Cliff