Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin not using SSL


bitznbytes

Recommended Posts

Hi, I"ve got SSL installed and working but the 'Admin Section' does not seem to be using SSL. I can manually put in the https: and it will work, but all links within the Admin are still pointing to http: Would anyone have any suggestions?

 

B

Link to comment
Share on other sites

This is how I set my admin/includes/configure.php

 

define('DOMAIN', 'example.co.uk'); // a new definition added to simplify adjustments

define('HTTP_SERVER', 'https://' . DOMAIN); // note that https is used on all three of these definitions

define('HTTP_CATALOG_SERVER', 'https://' . DOMAIN);

define('HTTPS_CATALOG_SERVER', 'https://' . DOMAIN);

define('ENABLE_SSL_CATALOG', true); // obviously needs to be set to true

Link to comment
Share on other sites

thanks -but it did not make a difference....

 

Double check every thing, because if you make the changes then all links in admin will be secure. Be sure you've made the changes in your admin folder and not in your catalog folder. ;)

Link to comment
Share on other sites

Not sure I follow you with respect to the following:

 

Be sure you've made the changes in your admin folder and not in your catalog folder

 

What changes do I make to my admin folder?

 

Thanks,

B

Link to comment
Share on other sites

There are catalog and admin sides to osCommerce. You need to change the code I posted above in the file admin/includes/configure.php. Make sure you are saving the file after editing due to expected write permissions on that file.

Link to comment
Share on other sites

Not sure I follow you with respect to the following:

 

Be sure you've made the changes in your admin folder and not in your catalog folder

 

What changes do I make to my admin folder?

 

Thanks,

B

 

admin/includes/configure.php as described above change, the http paths to https

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...