Avoiding HTTP 400 error, “cgi.force_redirect = 0″
November 15, 2004 | In Developercgi.force_redirect = 0
PHP 4.3.9 under IIS threw up a nasty HTTP 400 error. I found the solution(s) here.
IIS CGI configuration:
- Use C:phpphp-cgi.exe, instead of php5isapi.dll … and Check “Check that file exists”.
- In php.ini set: cgi.force_redirect = 0 {Otherwise, an HTTP 400 error will result.}






