And Fastcgi_param SCRIPT_FILENAME?

Good afternoon everyone!

Anyone know how to get rid of this glitch

fastcgi_param SCRIPT_FILENAME /test/category/index.php/blabla;


indicate SCRIPT_FILENAME, and at the end reexam substituted /blabla

fastcgi finds the file index.php and interpretered it, although in theory it should find the directory

index.php and return 404


what to do? some guidelines supply?
October 8th 19 at 01:23
1 answer
October 8th 19 at 01:25
Solution
Have been through habré found the answer
habrahabr.ru/post/100961/

in php.ini put
cgi.fix_pathinfo=0
or
as said disc
try_files $fastcgi_script_name =404;

Find more questions by tags FastCGINginxPHP