The CGI application specified by PHP produces incorrect behavior because it does not return a complete set of HTTP headers.
Security alert! PHP CGI cannot be accessed directly.
This PHP CGI binary is compiled with force-cgi-redirect enabled. This means. A page would only be served up if the Redirect_status CGI variable is set. This variable are set, for example, by Apache ' s Action Directive redirect.
Disable this restriction by recompiling the PHP binary with the--disable-force-cgi-redirect switch. Your PHP CGI binary accessible somewhere in your web tree, people would be the able to circumvent. htaccess security by loading files through the PHP parser. A Good The around this is to define Doc_root in your php.ini file to something other than your top-level document_root. This is the separate the part of your web space which uses PHP from the normal part using. htaccess security. htaccess restrictions anywhere on your site can leave doc_root undefined. If you were running IIS, you could safely set cgi.force_redirect=0 in php.ini.
Method: Php.info force_redirect=0 This sentence put in php.ini.
The CGI application specified by PHP produces incorrect behavior because it does not return a complete set of HTTP headers.