Re: Please help rewrite proper parameter

2016-04-29 Thread shiz
For reference, that snippet seem to have done the job. I'm not redirecting them, I trash them though. if ($args ~* "^param\%"){ access_log off; return 410; } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265514,266528#msg-266528 ___ n

Please help rewrite proper parameter

2016-03-20 Thread shiz
Hi, Sometimes, bots are notorious for doing that, arguments are over urlencoded. If someone knew a way to rewrite them back to their normal state, that would be awesome. e.g. Normal URL: www.site.com/file.php?param=blahblah URLs that bots try sometimes (often in fact - don't know where they