Welcome! Log In Create A New Profile

Advanced

Re: Blocking blank useragent requests

January 25, 2010 06:02PM
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



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Blocking blank useragent requests

Bob January 24, 2010 03:19PM

Re: Blocking blank useragent requests

Piotr Sikora January 24, 2010 03:28PM

Re: Blocking blank useragent requests

Bob January 25, 2010 05:43PM

Re: Blocking blank useragent requests

Eugaia January 25, 2010 05:58PM

Re: Blocking blank useragent requests

Cliff Wells January 25, 2010 06:02PM

Re: Blocking blank useragent requests

Bob January 25, 2010 07:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 172
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready