atom feed7 messages in ru.sysoev.nginxRe: Disable PHP in specific directories
FromSent OnAttachments
mindfrost82Jun 10, 2010 8:58 am 
Boris DolgovJun 10, 2010 9:25 am 
Rob SchultzJun 10, 2010 9:43 am 
Boris DolgovJun 10, 2010 10:23 am 
Rob SchultzJun 10, 2010 10:36 am 
Igor SysoevJun 10, 2010 10:44 am 
Rob SchultzJun 10, 2010 10:52 am 
Subject:Re: Disable PHP in specific directories
From:Boris Dolgov (bor@dolgov.name)
Date:Jun 10, 2010 10:23:24 am
List:ru.sysoev.nginx

Hello!

On Thu, Jun 10, 2010 at 8:44 PM, Rob Schultz <rsch@gmail.com> wrote:

Just for clarification it doesn't matter logically where he puts the location as long they are in the same server section. NginX uses the most specific match first no the first match found in the file. http://wiki.nginx.org/NginxHttpCoreModule#location

No. For locations, defined with regular expressions, the first match is being used. This is written in you link:

3. Regular expressions, in the order they are defined in the configuration file. 4. If #3 yielded a match, that result is used.