shawn6688 Posted August 16, 2008 Share Posted August 16, 2008 Hi Everyone, I am new to osCommerce. My client uses https to access osCommerce admin. For some reason, he wants to use http to access the admin. Here is the original setting in the admin/includes/ configure.php file: define('HTTP_SERVER', 'https://'); define('HTTP_CATALOG_SERVER', 'http://'); define('HTTPS_CATALOG_SERVER', 'https://'); define('ENABLE_SSL_CATALOG', 'true'); But when I changed https to http, and disable the SSL _catalog, the browser stopped for infinite loop error. I tried several other combinations. But still cannot make it work.Any suggestions will be welcomed. Thanks Shawn Link to comment Share on other sites More sharing options...
BryceJr Posted August 16, 2008 Share Posted August 16, 2008 Try this ... define('HTTP_SERVER', 'http://'); define('HTTP_CATALOG_SERVER', 'http://'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); Link to comment Share on other sites More sharing options...
shawn6688 Posted August 16, 2008 Author Share Posted August 16, 2008 Thanks for your reply. But still give the same error. Redirect Loop Firefox has detected that the server is redirecting the request for this address in a way that will never complete. Link to comment Share on other sites More sharing options...
BryceJr Posted August 16, 2008 Share Posted August 16, 2008 Thanks for your reply. But still give the same error. Redirect Loop Firefox has detected that the server is redirecting the request for this address in a way that will never complete. If you have tried this and doesn't work define('HTTP_SERVER', 'http://'); define('HTTP_CATALOG_SERVER', 'http://'); define('HTTPS_CATALOG_SERVER', 'http://'); define('ENABLE_SSL_CATALOG', 'false'); ...then I'm :huh: Link to comment Share on other sites More sharing options...
shawn6688 Posted August 16, 2008 Author Share Posted August 16, 2008 If you have tried this and doesn't work define('HTTP_SERVER', 'http://'); define('HTTP_CATALOG_SERVER', 'http://'); define('HTTPS_CATALOG_SERVER', 'http://'); define('ENABLE_SSL_CATALOG', 'false'); ...then I'm :huh: I found the problem. The previous developer redirected the page to another page in the code. I commented it. Works fine now. Thanks. Link to comment Share on other sites More sharing options...
satish Posted August 16, 2008 Share Posted August 16, 2008 internally in apllication_top.php someone might have placed a redirect link to SSL in case it was a non-ssl request. So chek the code thats redirecting. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
biophase Posted September 26, 2008 Share Posted September 26, 2008 I found the problem. The previous developer redirected the page to another page in the code. I commented it. Works fine now. Thanks. This is probably my problem. Which file would the redirect be in? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.