Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Force CGI Redirect Error  (Read 6499 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
Force CGI Redirect Error
« on: October 06, 2014, 10:17:44 pm »
When a Domain down and Apache  logs have the following entries

Code: [Select]
[Thu May 08 04:32:00 2014] [error] [client X] <p>This PHP CGI binary was compiled with force-cgi-redirect enabled.  This, referer: http://www.referrer.com
[Thu May 08 04:32:00 2014] [error] [client X] means that a page will only be served up if the REDIRECT_STATUS CGI variable is, referer: http://www.referrer.com

Solution:


- Add 'cgi.force_redirect = 0' in the customers php.ini file.


Specifically for OpenCart, the following applies:

"Add the line 'cgi.force_redirect = 0' to the files:

1. /opencart/store/php.ini
2./opencart/store/install/php.ini"

Cheersss.......