Difference between revisions of "X-Cart:Redirect Loop Error"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with ' If your server is behind a proxy and generates the error "'''Firefox has detected that the server is redirecting the request for this address in a way that will never complete'…')
(No difference)

Revision as of 16:43, 1 September 2011


If your server is behind a proxy and generates the error "Firefox has detected that the server is redirecting the request for this address in a way that will never complete" or something else related to a redirect loop error, try adding this code to your top.inc.php file:

if( isset( $_SERVER["HTTP_X_FORWARDED_HOST"]))  $_SERVER["HTTP_HOST"] = $_SERVER["HTTP_X_FORWARDED_HOST"];