Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links in Admin page not HTTPS


ayn

Recommended Posts

Posted

Hi, I access my admin page via SSL and it's password protected by Apache... However the links in the admin pages are not using HTTPS. I did some initial debugging and found out that tep_href_link() was called without a $connection argument, therefor, I think, was default to NOSSL.

 

I must be missing something here, I can change all calls to tep_href_links to include SSL in the end, but I don't think that's what I'm supposed to do... here are the important configuration, I also installed check_secure contrib and it doesn't give me any warning...

 

catalog/includes/configure.php:



 define('HTTP_SERVER', 'http://www.mystore.com');

 define('HTTPS_SERVER', 'https://secure.mydomain.com'); 

 define('ENABLE_SSL', true); 

 define('HTTP_COOKIE_DOMAIN', 'www.mystore.com');

 define('HTTPS_COOKIE_DOMAIN', 'https://secure.mydomain.com/mystore.com/');

 define('HTTP_COOKIE_PATH', '/');

 define('HTTPS_COOKIE_PATH', '/');

 define('DIR_WS_HTTP_CATALOG', '/');

 define('DIR_WS_HTTPS_CATALOG', '/mystore.com/');

 

I'd highly appreciate any help! Thanks!

 

--Andrew[/code]

--AYN

Posted

Admin configuration is in admin/includes/configure.php

 

The relevant line is the HTTP_SERVER. Make sure that you set it to an https:// URL, e.g.

define('HTTP_SERVER', 'https://www.yoursecuredomain.com');

Good luck,

Matt

Posted

Cool, it's working... Thanks!

 

/ayn

 

Admin configuration is in admin/includes/configure.php

 

The relevant line is the HTTP_SERVER. Make sure that you set it to an https:// URL, e.g.

define('HTTP_SERVER', 'https://www.yoursecuredomain.com');

Good luck,

Matt

--AYN

Archived

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

×
×
  • Create New...