comparing two variables

replay nginx-forum at nginx.us
Mon Jun 13 12:01:16 MSD 2011


i just found that with an = it works, but i need the comparison to be
case insensitive...

i was thinking if there is any way to lowercase or uppercase both
strings before the comparison, then i could do an =.

is there any way to lowercase or uppercase a string? otherwise i could
also write a very small module for that.

i would prefer to don't have to use lua

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




More information about the nginx mailing list