Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL & HTTPS images- How to get images from secure server?


El Salto 999

Recommended Posts

Hi there everyone, I am starting a new thread since I could not find this topic anywhere else. I have three sites, all with the same problem. Here is the main one: www.lylefabrics.com When you click a link to a secure page (such as "Checkout"), the lock icon does not appear in IE and Firefox displays a half-padlock with a square with an X inside. My host tells me everything looks great on their end and that my problem is the images on these pages are being pulled from the HTTP (unsecure) section of my site. In Firefox, if you click the retarded padlock icon, and click the "Media" tab, it will show you where the images come from. A few of the images (such as: button_quick_find.gif) actually are HTTPS. My question is how do I get all the images on these pages to come from the HTTPS section? I will post my configure.php next:

Link to comment
Share on other sites

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'www.lylefabrics.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/content/l/y/l/lylefabrics/html/');

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

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

 

 

If anyone has experienced this problem, I'd appreciate some help! Thanks a lot!

Link to comment
Share on other sites

Well, once again, persistence pays off... I found the problem though! Apparently GoDaddy.com's servers don't return the normal HTTPS info, so you must edit the code a bit: Here is a link to the solution in case anyone else has this issue.

 

http://forums.creloaded.com/Forums/viewtopic/p=37054.html

 

and if that doesn't work:

 

http://www.oscommerce.com/forums/index.php?sho...mp;#entry761803

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...