D
D
denn2014-10-31 21:51:29
PHP
denn, 2014-10-31 21:51:29

What are the recommended options to specify when using the FastCGI module?

Faced the problem of using PHP handler. On the usual mod_php scripts (engines) work fine, but if you use FastCGI, then incomprehensible problems begin. For example, the function of downloading tar archives does not work. The script returns a 302 error. The error log is empty. Came to a conclusion that it is necessary to work with a file in php.ini. Can you suggest recommended settings?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Benkovsky, 2014-11-03
@benbor

Actually, 302 is not an error, but information to the client that the resource has been moved. If your client is not a browser (where redirect is enabled by default) but a custom application, try enabling redirect.
PS Along with 302, the Location header must be sent. It should contain your archive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question