webfarm
11-01-2006, 08:24 PM
The problem is that when there is a secure cert path in the URL and you load pages that have references or calls to http:// pages Internet Explorer grumbles about non-secure items in the page (The error warning doesn't appear in FireFox tho).
This shows up when you have an SSL path specified in the shopping cart, when you leave the shopping cart the secure path isn't dropped from the URL. For example it someone clicks on continue shopping from the checkout and then visits a page with items loaded from another site or an absolute references IE spits out it warning.
I have put a fix in place using .htaccess:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
#Rewrite Rule for secure DOMAIN.NAME
RewriteCond %{HTTP_HOST} SECURE.SERVER.NAME
RewriteCond %{REQUEST_URI} index.php
RewriteRule .* http://www.DOMAIN.NAME/$1
While this fixes the problem by rewriting the URL for any requests out side of the shopping folder I am not sure if it will cause any problems with the site.
Any ideas on a better way to fix the problem or anyone know if this will cause any problems on a soho site?
This shows up when you have an SSL path specified in the shopping cart, when you leave the shopping cart the secure path isn't dropped from the URL. For example it someone clicks on continue shopping from the checkout and then visits a page with items loaded from another site or an absolute references IE spits out it warning.
I have put a fix in place using .htaccess:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
#Rewrite Rule for secure DOMAIN.NAME
RewriteCond %{HTTP_HOST} SECURE.SERVER.NAME
RewriteCond %{REQUEST_URI} index.php
RewriteRule .* http://www.DOMAIN.NAME/$1
While this fixes the problem by rewriting the URL for any requests out side of the shopping folder I am not sure if it will cause any problems with the site.
Any ideas on a better way to fix the problem or anyone know if this will cause any problems on a soho site?