Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Setup not working


bubbaman

Recommended Posts

Posted

Tech support at my web host sent me this message:

We have configured ssl certificate for your site and you can access it from :: https://shop.onescrappysite.com

 

I can access the site on http://shop.onescrappysite.com, but when I click 'Your Account' or 'Checkout', I receive a 404 error.

 

Here is my config.php in case I've entered something wrong in here.

 

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

define('HTTPS_SERVER', 'https://shop.onescrappysite.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'shop.onescrappysite.com');

define('HTTPS_COOKIE_DOMAIN', 'shop.onescrappysite.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

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

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

define('DIR_FS_CATALOG', '/home/xxxxxx/public_html/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'xxxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Any suggestions would be greatly appreciated! Thanks!

Posted

Thanks, I fixed that. I'm still getting the 404 errors, but I'm sure this helped me to avoid other problems.

Archived

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

×
×
  • Create New...