Friday, December 08, 2006

GeoTrust Seal: Internet Explorer not showing the padlock icon for security

Today, I experienced a very weird issue with a site using GeoTrust seal on Internet Explorer. One of my site was showing the padlock icon only for a few seconds and then it would disappear. Additionally, Internet Explorer wasn't showing the security warning "this page has both secure and insecure items."

So after investigating I found the issue to be related to a mod_rewrite redirect. Basically all requests were being redirected to a new URL and the image on my site was using the old URL.

The fix was easy, once the problem was identified. I simply added the following lines to my .htaccess file.

RewriteCond %{REQUEST_URI} !gif$
RewriteCond %{REQUEST_URI} !jpg$
RewriteRule ^store/(.*)$$1 [L,QSA,R=301]

The above site was working fine with Firefox.

Shouldn't IE show warning if it experiences such a situation, instead of simply removing the padlock?


At Fri Jan 05, 09:39:00 AM, Anonymous Anonymous said...

Saw something similar, but am using a Thawte cert. Tried the fix, but it didn't work for me. Do i need to alter something in the text to pertain to my particular store?

At Wed Sep 19, 02:40:00 PM, Anonymous Anonymous said...

I have a similar need and thought your existing code might could help me.

I have a domain hosted, let's call it When I registered the domain, it forced me to register Normally that would be fine, but I keep my images at a machine called The images don't need to be SSL'd, but unless you disable certain warnings (which is a bit much to ask of my website users), you get a suite of errors on every page load that has graphics (basically every page). I was thinking I could use a rewrite rule that basically replaces "" with "", while still maintaining the "" or "" or whatever.

What do you think?


Post a Comment

<< Home