please convert this .htaccess to NGINX rewrite

António P. P. Almeida appa at perusio.net
Mon Jan 31 19:14:05 MSK 2011


On 31 Jan 2011 15h55 WET, nginx-forum at nginx.us wrote:

> its not working,, :( i think its not true antonio..

It should work. But the User Agent string *must* contain '(6a1pre)'.

You can test it yourself with wget.

wget -U 'This is a test of the evil UA (6a1pre) indeed' <your site>

you should get a 403 status code as the result.

--- appa



More information about the nginx mailing list