problem with PCRE matching, utf-8, Greek, rewrite

tmanolat nginx-forum at
Fri Jul 2 11:48:41 MSD 2010

Dear Maxim,
it works like a charm now.

FYI I put in nginx.conf: 
			if ($request_uri ~ "(*UTF8)^(.*)[\\?|&]filename=([%
,a-zA-Z0-9\x{386}-\x{3ff}_\-\.]+)(&.*)?$") {

Kindest regards,
Tilemahos Manolatos

PS. @Weibin Yao: I would like to avoid "fixed" character lists, I wanted
to use ranges of characters, so the above solution seems, in my opinion,
better for matching all Greek characters

Posted at Nginx Forum:,104357,104628#msg-104628

More information about the nginx mailing list