Welcome! Log In Create A New Profile

Advanced

Re: Location regular expression explanation

Ruslan Ermilov
August 03, 2012 03:18AM
On Fri, Aug 03, 2012 at 02:28:09AM -0400, diego_xa wrote:
> Hi,
>
> I was recently reading the PHPfastcgi example at
> http://wiki.nginx.org/PHPFcgiExample. When it talks about the
> configuration to avoid the exploit on uploads folder, there is a
> regulare expresion saying: location ~*
> (^(?!(?:(?!(php|inc)).)*/blogs\.dir/).*?(php|inc)) {
>
> I don't understand that regular expresion. Could someone explain me what
> ?! ?: mean or send me some link to documentation about this?? I cannot
> find anything after some googling.
>
> Thanks and regards.

http://www.pcre.org/pcre.txt

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

Location regular expression explanation

diego_xa August 03, 2012 02:28AM

Re: Location regular expression explanation

Ruslan Ermilov August 03, 2012 03:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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