Welcome! Log In Create A New Profile

Advanced

Re: Disable PHP in specific directories

June 10, 2010 01:32PM
Hello!

On Thu, Jun 10, 2010 at 8:44 PM, Rob Schultz <rschultz7@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.


--
Boris Dolgov.

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

Disable PHP in specific directories

mindfrost82 June 10, 2010 11:59AM

Re: Disable PHP in specific directories

Boris Dolgov June 10, 2010 12:36PM

Re: Disable PHP in specific directories

Rob Schultz June 10, 2010 12:48PM

Re: Disable PHP in specific directories

Boris Dolgov June 10, 2010 01:32PM

Re: Disable PHP in specific directories

Rob Schultz June 10, 2010 01:42PM

Re: Disable PHP in specific directories

Igor Sysoev June 10, 2010 01:50PM

Re: Disable PHP in specific directories

Rob Schultz June 10, 2010 02:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 54
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready