Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I want http not https


lodestone

Recommended Posts

I am actually trying to get OC to display the My Account & Checkout, etc. pages via http not https. How can I do that? I set the following lines in admin/includes/config.php as such:

 

define('HTTP_SERVER', 'http://mydomain.com');
 define('HTTP_CATALOG_SERVER', '');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', false);

My host does not provide SSL so I am using PayPal's Website Payments Standard.

 

OC version OM 2.2 RC2

 

Thanks.

 

--Allen

Link to comment
Share on other sites

You need to edit the includes/configure.php file, not the admin/includes/configure.php file. If your host doesn't offer a shared ssl either, you may want to consider moving to a new host since the lack of an ssl will cost you sales.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

There is a topic which describes very good, how to set up SSL (or not to), but I can't find it.

 

 

In includes/configure.php

define('HTTP_SERVER', 'http://www.yoursite.com');
 define('HTTPS_SERVER', 'http://www.yoursite.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', '.yoursite.com');
 define('HTTPS_COOKIE_DOMAIN', '.yoursite.com');

 

Pay attention to the dots in cookie domains!

 

 

in admin/includes/configure.php

define('HTTP_SERVER', 'http://www.yoursite.com');
 define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');
 define('HTTPS_CATALOG_SERVER', 'http://www.yoursite.com');
 define('ENABLE_SSL_CATALOG', 'false');

 

It's simple. Just don't write https, but only http everywhere.

Link to comment
Share on other sites

You need to edit the includes/configure.php file, not the admin/includes/configure.php file. If your host doesn't offer a shared ssl either, you may want to consider moving to a new host since the lack of an ssl will cost you sales.

 

Jack

 

There is a topic which describes very good, how to set up SSL (or not to), but I can't find it.

 

 

In includes/configure.php

CODE

define('HTTP_SERVER', 'http://www.yoursite.com');

define('HTTPS_SERVER', 'http://www.yoursite.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '.yoursite.com');

define('HTTPS_COOKIE_DOMAIN', '.yoursite.com');

 

 

Pay attention to the dots in cookie domains!

 

 

in admin/includes/configure.php

CODE

define('HTTP_SERVER', 'http://www.yoursite.com');

define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');

define('HTTPS_CATALOG_SERVER', 'http://www.yoursite.com');

define('ENABLE_SSL_CATALOG', 'false');

 

 

It's simple. Just don't write https, but only http everywhere.

 

Thanks guys. You rock.

 

--Allen

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...