Location regex
Mathew Davies
thepixeldeveloper at googlemail.com
Wed Oct 28 03:21:43 MSK 2009
Hi.
I am having trouble with a location regular expression.
location ~* ^/(library|conf|appg) {
> return 403;
> }
>
It is my understanding the following regular expression should match any uri
starting with library, conf or appg. However, this is not the case.
For instance.
http://domain.com/appg/
>
will match fine where as
http://domain.com/appg/.file
>
wont match (causing the file to be downloaded)
Am I doing something inherently wrong or is this a bug in Nginx?
-Mathew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091028/337f5241/attachment.html>
More information about the nginx
mailing list