Welcome! Log In Create A New Profile

Advanced

Re: Changing case of URLs

merlin corey
December 29, 2009 04:36PM
On Tue, Dec 29, 2009 at 1:22 PM, Dennis J. <dennisml@conversis.de> wrote:
> Hi,
> Does nginx have a function/map like Apache's "int:tolower" that can be used
> to rewrite something like "/SuperUser/file.txt" to "/superuser/file.txt"?
>
> Regards,
>  Dennis
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

The only thing currently, I think, is a compile time option that can
force it to be case insensitive, but that probably isn't quite what
you want either. Not really sure why you want this in the first
place. It is not generally considered for two resources to refer to
the same resource by different case unless the underlying filesystem
does as well. For example, go to http://google.com/SEARCH?q=nginx vs
http://google.com/search?q=nginx

-- Merlin

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

Changing case of URLs

Dennis J. December 29, 2009 04:26PM

Re: Changing case of URLs

merlin corey December 29, 2009 04:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
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