Welcome! Log In Create A New Profile

Advanced

Location regular expresion explanation

Posted by diego_xa 
Location regular expresion explanation
August 02, 2012 07:11PM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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