Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL redirection?


popstar

Recommended Posts

Posted

In the includes/configure.php file look for...

 

  define('HTTP_SERVER', 'http://www.yourserver.com'); // eg, http://localhost - should not be NULL for productive servers

 define('HTTPS_SERVER', 'https://yoursecureserver.com/');

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

One hint (I've made this error before)... When you editing the configure.php file locally, make sure you download this file from the server first so yougrab the variables that were inserted during the install process before you begin to edit.

 

Mark

Posted

doh! thank you so much, I just tested it and it works! Just seeing that little yellow lock in the bottom of the browser some how feels very, very good :)

Good things happen to good people!

  • 4 months later...
Posted

My old hosting provider used to use "redirection" I think.

I had all files in HTTP:// (only)

When OSC called HTTPS:// it would go there (I guess an .htaccess file) and redirect through HTTPS:// wahtever needed.

My new hosting provider tells me to copy ALL files to HTTPS://

This seems very troublesome for many reasons...

 

What does the .htacces file or other solution need to like like?

Archived

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

×
×
  • Create New...