W
W
wumvi2012-03-26 12:18:02
PHP
wumvi, 2012-03-26 12:18:02

fastcgi_param and SCRIPT_FILENAME?

Good afternoon everyone!
Who knows how to get rid of such glitch
fastcgi_param SCRIPT_FILENAME /test/category/index.php/blabla;
I specify SCRIPT_FILENAME, and /blabla is substituted at the end with the regex
fastcgi finds the index.php file and interprets it, although in theory it should find the
index.php directory and return 404,
what should I do? what directives to put?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wumvi, 2012-03-26
@wumvi

Poryskal on habré found the answer
habrahabr.ru/post/100961/
in php.ini set
cgi.fix_pathinfo=0
or
as disc
try_files said $fastcgi_script_name =404;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question