Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL problems


amethyst

Recommended Posts

Posted

Hi.... can anyone help with this....

 

My site is on a shared cert ssl, my problem is this....

 

on normal http: i can have a background image

 

but when it switches to https: it will not show the background image....

 

what am i doing wrong?

 

here is the stylesheet i have changed

 

BODY {
 background-image: url(/images/ice.gif);
 color: #000000;
 margin: 0px;
}

A { 
 color: #000000; 
 text-decoration: none; 
}

A:hover { 
 color: #AABBDD; 
 text-decoration: underline; 
}

FORM {
display: inline;
}

TR.header {
  background-image: url(/images/ice.gif);
}

 

here is my config file....

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://examplestore.uksensations.co.uk/');
define('HTTPS_SERVER', 'https://server1.simplewebserver.co.uk/~username/examplestore/');
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname
 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', DIR_WS_CATALOG . 'pub/');
 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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

any ideas??????

 

:ph34r:

Posted

double check that your SSL path is correct (need to check with your host) as you may not need the full path as you have it or you may need more. The stylesheet has nothing to do with it.

Archived

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

×
×
  • Create New...