Pain with IE7 and IE8 (loading non-HTTP elements in SSL)

Hello,

This forum has helped me a lot. Thanks so much everyone.

Alright, I’m using Magento. URL: gridzdirect . com

I have SSL environment for the following pages:

  1. Log In
  2. My Account
  3. Register
  4. Checkout

When using SSL, I saw that the images were not loading up. After much googling, I found that most users suggested I put absolute paths whenever I’m referring to an image.

So I went ahead and started putting h t t p://w w w.gridzdirect. com/skin/…blahblah.jpg etc

However, when using SSL in IE (such a pain), now I get several warnings about secure and unsecure content being loaded.

  1. How do I go about suppressing these warnings?
  2. Is there an alternative to putting absolute paths for images?

Thanks for reading.

Parag

pm,

First, Welcome to SitePoint’s Apache forum!

Now, as to relative paths vs absolute, the absolute paths will take care of the problems with CRM systems redirecting to a different directory level. HOWEVER, your SECURE server scripts are using https, NOT http protocol so those must have calls to their support files made via your secure server, too. THAT is the problem that IE is correctly complaining about.

Alternatively, include in your index.php script the <base> tag which will tell browsers what the correct directory level is for all the relative links (and allow the browsers to decide whether they need http or https).

Regards,

DK