Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL help


Sethman

Recommended Posts

Hi, please check out my site and tell me what's wrong. I have ssl configured so when you click on the https link it will show up fine. When you click the http link it's all weird lookin... why is that and what have I done wrong?

 

https://www.jassepaintball.com/catalog

 

http://www.jassepaintball.com/catalog

 

Many thanks

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://jassepaintball.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://jassepaintball.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://jassepaintball.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://jassepaintball.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 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', 'xxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxxxxxxx');
 define('DB_DATABASE', 'xxxxxx');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql')   <----- is this good??????

Link to comment
Share on other sites

define('HTTP_COOKIE_DOMAIN', 'http://jassepaintball.com');

define('HTTPS_COOKIE_DOMAIN', 'https://jassepaintball.com');

 

to:

 

define('HTTP_COOKIE_DOMAIN', 'jassepaintball.com');

define('HTTPS_COOKIE_DOMAIN', 'jassepaintball.com');

 

this:

 

define('DIR_WS_HTTP_CATALOG', '');

 

to:

 

define('DIR_WS_HTTP_CATALOG', 'catalog');

Link to comment
Share on other sites

also because of your ssl certificate,

 

this:

 

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

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

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'http://jassepaintball.com');

define('HTTPS_COOKIE_DOMAIN', 'https://jassepaintball.com');

 

to this:

 

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

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

define('ENABLE_SSL', true);

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

define('HTTPS_COOKIE_DOMAIN', 'www.jassepaintball.com');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...