Case insensitive exact location match?

J.J J jujj603 at gmail.com
Sun May 24 00:46:16 UTC 2015


I'm answering "Does nginx support Case insensitive exact location match?"
It seems you are asking "Will or can  nginx support Case insensitive exact
location match?"

You can check links below for discussion about URI Case insensitive.

Quote from some answer: >>>
In reality it depends on the web server.
IIS is not case sensitive.
Apache is.<<<

For exact location match, nginx is case sensitive, and surely it can be
insensitive. Will be or not ?

https://stackoverflow.com/questions/15641694/are-uris-case-insensitive

https://stackoverflow.com/questions/7996919/should-url-be-case-sensitive



On Wed, May 20, 2015 at 6:03 PM, itpp2012 <nginx-forum at nginx.us> wrote:

> J.J J Wrote:
> -------------------------------------------------------
> > No, exact and inclusive match are case sensitive.
> >
> > You can write it in two location :
> > location   =  /test
> > location   =  /TEST
> >
> > Personally, I think it's a bad practice to differentiate requests by
> > the
> > case(ness) of URI.
>
> Hmm so you also need to add
>
> location   =  /Test
> location   =  /TEst
> location   =  /TESt
> ........
>
> It should be a server/location block config item.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,258977,259000#msg-259000
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150524/97754bae/attachment-0001.html>


More information about the nginx mailing list