Zen Cart Logo
Forums / General Questions / SSL on checkout pages only

SSL on checkout pages only

Locked

Views: 1,056

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
7 Jun 2009, 2:55 AM
#1
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

SSL on checkout pages only

Hello,

How do I enable SSL for checkout pages only.
CUrrently, SSL is showing throughout the whole site.

Thank you!

8 Jun 2009, 12:22 AM
#3
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: SSL on checkout pages only

Kim:

https://www.zen-cart.com/tutorials/index.php?article=6

Thanks for the link but it doesn't explain why the whole website is secured. I just want https:// on account and checkout pages, not the whole site.

How can I do this?

8 Jun 2009, 1:53 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,615
Plugin Contributions:
0

Re: SSL on checkout pages only

If you set up your configure files, the way the article tells you, then only the checkout will be SSL.

8 Jun 2009, 2:36 AM
#5
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: SSL on checkout pages only

Kim:

If you set up your configure files, the way the article tells you, then only the checkout will be SSL.

Where is the information for the config.php file?

I don't see it there!

8 Jun 2009, 10:08 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: SSL on checkout pages only

james739:

Where is the information for the config.php file?

I don't see it there!

It's not config.php, but configure.php

There are two of them

includes/configure.php
admin/includes/configure.php

Before you edit them, you may need to change their CHMOD permissions to make them writeable.

8 Jun 2009, 11:52 AM
#7
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: SSL on checkout pages only

schoolboy:

It's not config.php, but configure.php

There are two of them

includes/configure.php
admin/includes/configure.php

Before you edit them, you may need to change their CHMOD permissions to make them writeable.

I modified configure.php to enable SSL. It seems like my whole website is secured. I only want the checkout pages and account pages secured.

Thanks!

8 Jun 2009, 12:14 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: SSL on checkout pages only

I think Kim meant:

https://www.zen-cart.com/tutorials/index.php?article=14

If that doesn't work, post the contents of includes/configure.php (removing user and password info) and we'll take a look.

The pages you want secured is what Zencart does by default, so there's an error somewhere.

8 Jun 2009, 12:14 PM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: SSL on checkout pages only

includes/configure.php

define('HTTP_SERVER', 'http://yourdomain');
define('HTTPS_SERVER', 'https://yourdomain');

Are the parts shown in Red also the same in your file?