IE 6 warnings

Fix it!!

IE 6 warnings

Postby slinky66 » Wed Aug 20, 2008 7:09 am

Hello All,

IE 6 users are getting the "You are about to be redirected to a connection that is not secure..."

This is happening on the checkout page, when they press the submit button. The form posts back to itself to do server side validation and if it passes validation, gets sent to a processing page via PHP header("Location: /process.php")

I think the problem is happening on the post back to the checkout page (<form action="/checkout.php" method="post">), where the following directives are being applied in the root directory to force an SSL connection on checkout and thanks pages:

RewriteEngine on
RewriteBase /


#Checkout page
#RewriteRule ^checkout/id/([0-9]+)/?$ /checkout.php?id=$1 [L,R=301]

# kick checkout page to secure
RewriteCond %{REQUEST_URI} ^/checkout\.php.*
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]

# kick thanks page to secure
RewriteCond %{REQUEST_URI} ^/thanks\.php.*
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]

Any suggestions how to fix?

Thanks
slinky66
 
Posts: 1
Joined: Wed Aug 20, 2008 6:35 am

Postby richardk » Wed Aug 20, 2008 11:19 am

Try SSL for process.php too
Code: Select all
Options +FollowSymLinks

RewriteEngine On

# SSL for /checkout.php, /process.php and /thanks.php.
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(checkout|process|thanks)\.php$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Security with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron