Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question