homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

SSL help for single page
SSL for checkout page only not working

Msg#: 4585839 posted 6:56 pm on Jun 19, 2013 (gmt 0)

I need my website to have the SSL applied to the checkout page only which is http://www.example.com/products-page/checkout

I am currently using the following code which seems to work for Firefox, but not for Internet Explorer or AOL.

RewriteRule ^products-page/checkout/?$ https://www.example.com/products-page/checkout [R=301,L]

And for some reason on Internet Explorer all pages are showing https and are showing "Only secure content is being displayed." on the bottom of all pages.

This problem is killing me. Please help! Thanks!

[edited by: phranque at 10:09 pm (utc) on Jun 19, 2013]
[edit reason] please use example.com [/edit]



WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month

Msg#: 4585839 posted 11:23 pm on Jun 25, 2013 (gmt 0)

Are you sure that Firefox shows http in the address bar, or is it that it only does not show the message "Only secure content is being displayed" ?

Do you internally link with the full URI or you use relative or root-relative paths (without the scheme/domain name)?

On both, IE and FF, when you are on your checkout page that uses https and then you hover over your other links that should be http, what URL address does the status bar show: https or http?

If https is shown in the status bar, then clicking on that link will go to https version of the page, unless there is a redirect employed. So to make it go to http, there should also be the redirect the other way around, that is, if the schema is https AND it is NOT the checkout page, redirect to http version of the page.


WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4585839 posted 1:52 am on Jun 26, 2013 (gmt 0)

welcome to WebmasterWorld, taymag!

on Internet Explorer all pages are showing https

are you saying every requested url on your site redirects to the https: protocol from IE and not other browsers?
does it act the same when you enter a url on the address bar vs clicking a link on a page on your site?


Msg#: 4585839 posted 4:13 pm on Jul 3, 2013 (gmt 0)

Hi Taymag,

You are getting this is because IE works different to Firefox. Firefox will load but it will not show the padlock to say the page is secure, when you view information in Firefox it will also say the page is partially encrypted. If you accept the IE prompt it will also kind off remove the padlock.

The reason this is happening is because you have external links or images going to
http://facebook.com as a quick example. Any HTTP link on a HTTPS page will cause it to not be fully secure.

Change all the hyperlinks and images to go over https and your page will work.

Let me know if you have any questions at all.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved