Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to enable SSL in admin panel?


Guest

Recommended Posts

I am using a shared SSL from my host, currently have it installed on my catalog side of the store, but I want to also install it on the admin side, but cannot get it working correctly. Can someone look and see whats wrong?

 

 

/ define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

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

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

define('HTTPS_CATALOG_SERVER', 'https://myhostsslserver.com/username);

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_FLAGS', DIR_WS_IMAGES . 'flags/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

well, as you can see I enabled SSL to true, and also put in my host ssl server with my username like they say, but when I log onto the admin panel, there is no ssl connection. Also says in bottom left corner "You are not protected by a secure SSL connection".

 

 

So how do I figure out how to enable it to work?

Link to comment
Share on other sites

Ah, so there is no actual error/problem. As you can see there is no HTTPS_ADMIN setting in the configure file, so if you were expecting it to pop up in HTTPS mode, it won't. Those settings are for the Catalog. There is no need for the Admin to run under SSL:

 

http://www.oscommerce.com/forums/index.php?showtopic=94126&st=10

I'd rather be flying!

Link to comment
Share on other sites

Well actually I installed a contribution, a payment gateway called Linkpoint, that the CC # are being shown in full in the admin panel under the customers order. This is not good, this is why I was wanting it to use SSL.

 

 

So what should I do now??? :o

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...