I would like to know how to convert the URLs to lowercase. When somebody
hits an URL ( irrespective of the case ), it should be converted to
lowercase in the address bar.
I would like to know how to convert the URLs to lowercase. When
somebody
hits an URL ( irrespective of the case ), it should be converted to
lowercase in the address bar.
Can’t we get this functionality without using lua-nginx-module?
AFAIK Nginx does support this out of the box, i.e. there’s nothing like
the internal functions tolower/toupper of RewriteMap in Apache HTTP (see http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html#rewritemap). If
you prefer Perl over Lua, go with the Perl module.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.