pm21 — 2010-01-19T03:30:52-05:00 — #1
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
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.
- How do I go about suppressing these warnings?
- Is there an alternative to putting absolute paths for images?
Thanks for reading.
dklynn — 2010-01-19T04:46:28-05:00 — #2
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).