The [L] flag may not work on redirecting, but may only work on rewriting. I read something about that on a MS forum. I tried a method of using the [L] flag on the first rule (to stop processing) with the redirects that we developed earlier, so that a subsequent rule would not fire, but the [L] seemed to be ignored and the subsequent rule fired when it didn't need to, causing redirect to http (apparently just for page elements on the secure on the secure page). Thus, the padlock was lost even though the URL still said https, because the redirect occurred for page elements.
It seems that, no matter how I code it, when redirect of page elements of the secure page get ran through the second rule, the padlock is going to naturally be lost, because even though the secure page still has https in browser URL, there are page elements that get directed to http, causing page delivery to be partially unencrypted.
All the refs to images ARE only only relational, not full URL references, so maybe there are scripts in the secure page(s) that are full URL rather than relational. Yeah, the inadvertent but seemingly unavoidable redirection of them to http could explain mixed encryption happening and thus loss of padlock.
I may keep working on it .. I dunno .. It's got me pretty baffled at this point. Maybe I should try to just put secure rules in a .htaccess in the directories for just the secure pages .. I don't know if the shopping cart php allows for that .. and then put non-secure rules in the site-wide htaccess to control all non-secure pages.
There probably is a whole different of way that major e-commerce sites control for the behavior. If I go to someplace like sears.com, every different behavior fix that we have worked on gets handled, but the padlock is not ever lost on secure pages. Could be a completely different way of handling it?
[edited by: finlander at 3:55 am (utc) on Nov 30, 2010]