Re: Include order and variables definition in configuration

2014-02-25 Thread B.R.
On Tue, Feb 25, 2014 at 2:49 AM, Maxim Dounin wrote: > Note (quote from http://nginx.org/r/fastcgi_param): > > : These directives are inherited from the previous level if and only > : if there are no fastcgi_param directives defined on the current > : level. > > There are fastcgi_param directives

Re: Include order and variables definition in configuration

2014-02-24 Thread Maxim Dounin
Hello! On Tue, Feb 25, 2014 at 01:05:44AM +0100, B.R. wrote: > Hello Francis and Maxim, > > I understand very well that $fastcgi_script_name value is defined after > fastcgi_split_path_info is called. > However I was wondering about other variables which value depend on > $fastcgi_script_name, f

Re: Include order and variables definition in configuration

2014-02-24 Thread B.R.
Hello Francis and Maxim, I understand very well that $fastcgi_script_name value is defined after fastcgi_split_path_info is called. However I was wondering about other variables which value depend on $fastcgi_script_name, for example when PHP's SCRIPT_NAME has been defined in the already included

Re: Include order and variables definition in configuration

2014-02-24 Thread Maxim Dounin
Hello! On Mon, Feb 24, 2014 at 11:39:39PM +0100, B.R. wrote: > Hello, > > I am considering the following configuration: > server { > include fastcgi.conf # Default configuration coming with a Debian > package which contains a definition of the SCRIPT_FILENAME FastCGI variable > with $documen

Re: Include order and variables definition in configuration

2014-02-24 Thread Francis Daly
On Mon, Feb 24, 2014 at 11:39:39PM +0100, B.R. wrote: Hi there, > server { > include fastcgi.conf # Default configuration coming with a Debian > ... > location ~^/index\.php { > fastcgi_split_path_info ^(/index\.php)(/.*)$; > } > Will the FastCGI SCRIPT_FILENAME variable valu

Include order and variables definition in configuration

2014-02-24 Thread B.R.
Hello, I am considering the following configuration: server { include fastcgi.conf # Default configuration coming with a Debian package which contains a definition of the SCRIPT_FILENAME FastCGI variable with $document_root$fastcgi_script_name as its value ... location ~^/index\.php {