mow its not working on my rules. this script only change RewriteRule to rewrite. nothing else. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,146186,146932#msg-146932