SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,672
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    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
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •