Welcome! Log In Create A New Profile

Advanced

what is simplest way to convert Request-URI to lowercase?

Anh K. Huynh
August 30, 2013 05:04AM
Hello,

We are using nginx heavily. We need to rewrite all request URIs
into lowercase, e.g,

http://foo.bar/ThiS_will_be_Rewritten/?q=Foobar

will be translated into

http://foo.bar/this_will_be_rewritten/?q=foobar

I know some modules (Perl, Lua) can do this. My question is
what the simplest way (module) to do that, because Perl/Lua
seems to be overkill here ;)

Thank you very much.

--
I am ... 5.5 dog years old.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

what is simplest way to convert Request-URI to lowercase?

Anh K. Huynh August 30, 2013 05:04AM

Re: what is simplest way to convert Request-URI to lowercase?

Francis Daly August 31, 2013 08:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready