cgi.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.}

Useful tips.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.