LeonidS how can I correct this "I may suggest that your have not so standard REQUEST_URI argument in $_SERVER array". And for the second problem, how to troubleshoot it? what do you need to track the error? I've already examined Nginx error logs. Where else should I look at?