Re: why my php file in subdirectory doesn't work?

Ian Hobson ian at
Fri Jan 6 10:31:07 UTC 2012

On 06/01/2012 07:37, gigabyte wrote:
>         fastcgi_param SCRIPT_FILENAME $sroot/$fastcgi_script_name ;
I suspect this should be

   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;



Ian Hobson
31 Sheerwater, Northampton NN3 5HU,
Tel: 01604 513875
Preparing eBooks for Kindle and ePub to give the best reader experience.

More information about the nginx mailing list