popstar Posted February 26, 2003 Posted February 26, 2003 My server has a shared SSL cert, the only way for me to access it is to goto https://mydomainname.securesites.com . How can I redirect the script to go to this 'securesites.com' url tag when going into https? Thanks! Good things happen to good people!
Guest Posted February 26, 2003 Posted February 26, 2003 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
popstar Posted February 26, 2003 Author Posted February 26, 2003 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!
unistar Posted July 18, 2003 Posted July 18, 2003 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.