Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL on Admin Section


b2blogic

Recommended Posts

Hi,

 

I have an SSL certificate installed on my site, and it is working fine to the catalog portion of the application. The problem comes when I go to the admin section of the site. It does not secure this section by default, and if i put the https:// in the url, each link points to http://.

 

Do i have to make a change to my .htaccess file? Or is there something in oscommerce to change?

 

Thanks!

Link to comment
Share on other sites

In your admin/includes/configure.php you could try the following:

 

define('HTTP_SERVER', 'https://www.????.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.????.com');

define('HTTPS_CATALOG_SERVER', 'https://www.????');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

For my sites I have had to make the first HTTP_SERVER https for the admin to be secure.

 

Worth a try? :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...