Case insensitive exact location match?
B.R.
reallfqq-nginx at yahoo.fr
Wed May 20 10:35:13 UTC 2015
2
^4 = all 16 combinations. Hopefully the 'test' sting is only 4 characters
long...
Case-insensitiveness is no-trivial check, and if needed PCRE are here for
that through regex locations.
What is wrong with them already?
---
*B. R.*
On Wed, May 20, 2015 at 12: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/20150520/2ac3c7ea/attachment.html>
More information about the nginx
mailing list