Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin SSL Configure.php setting


renix

Recommended Posts

Posted

I think this is a path problem of some sort, but after hours of unsuccessful changes, I'm looking for help.

 

I'm trying to use my SSL cert (not shared) on the Admin section. The individual options in the admin section seem to be using the cert (at least they're using the https in the header). But the admin folder itself is not using the SSL protection. Here's the code from my catalog/admin/includes/configure.php file.

 

Thanks, Mike

 

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

define('HTTP_CATALOG_SERVER', 'https://www.fxsails.com');

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

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

define('DIR_FS_DOCUMENT_ROOT', '/home/airfx/public_html/fxsails/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/jester/'); // absolute path required

define('DIR_FS_ADMIN', '/catalog/jester/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/catalog/'); // absolute path required

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

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/');

Posted

I've noticed two other people with questions about this same issue. Is there anyone that can help us out?

Thanks,

Mike

  • 2 weeks later...
Posted

most likely because this:

define('DIR_FS_DOCUMENT_ROOT', '/home/airfx/public_html/fxsails/catalog/'); // where the pages are located on the server

 

should be this:

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where the pages are located on the server

 

the top line is correct, https:

http_catalog server needs to be http:

Posted

Check your configure.php file in admin section, your missing HTTPS_SERVER....

try setting up like this..

 

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

define('HTTPS_SERVER', 'https://www.somename.com');

define('HTTP_CATALOG_SERVER', 'www.somename.com');

define('HTTPS_CATALOG_SERVER', 'www.somename.com');

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

Archived

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

×
×
  • Create New...