Url rewriting faliure in case of UTF8 urls

omidr nginx-forum at nginx.us
Wed Dec 4 13:22:42 UTC 2013


I want to rewrite some old urls on my site to new ones inorder to prevent
404 errors. For English urls everything is OK and adding a rewrite rule like
the following to the server block works fine.

rewrite ^/omid/$ /omidreza;

But when it comes to urls containing non-English characters the rule doesn`t
work. Has anyone experienced the same issue?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245202,245202#msg-245202



More information about the nginx mailing list