Czarny Posted August 28, 2010 Share Posted August 28, 2010 Hello everybody.I have my web site on foo.com (ie. http://www.pippo.com) but my certificate is on https://ssl.foo.com/pippoMy previous shopping cart allowed me to point the ssl connection to another different site, while Prestashop only adds https:// to the main website (ie. https://www.pippo.com)Is there a way to point to another site to have ssl working?Thanks Link to comment Share on other sites More sharing options...
crazydeals Posted August 28, 2010 Share Posted August 28, 2010 Czarny, you may want to consider reissue the certificate to have it on https://www.pippo.com as the current framework of prestashop allowed pointing to the root domain.If there is a need to prove that the site is secured and encrypted for safe shopping to your shoppers, I would advise to upload a security lock image on your website as it has proven to be working fine. Link to comment Share on other sites More sharing options...
rocky Posted August 29, 2010 Share Posted August 29, 2010 See here for how to modify PrestaShop to work with shared SSL. Link to comment Share on other sites More sharing options...
firedkm Posted August 30, 2010 Share Posted August 30, 2010 Rocky,This work around looks like it is for an older version of Prestacart. I am unable to find the same wording in the current version 1.3.1.1Do you have any idea on what to replace?Dale Link to comment Share on other sites More sharing options...
rocky Posted August 31, 2010 Share Posted August 31, 2010 Try changing line 131 of init.php (in PrestaShop v1.3.1) from: 'base_dir_ssl' => $protocol_link.$server_host.__PS_BASE_URI__, to: 'base_dir_ssl' => $protocol_link.((Configuration::get('PS_SSL_ENABLED') OR (isset($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) == 'on')) ? 'ssl.foo.com/pippo' : $server_host).__PS_BASE_URI__, Link to comment Share on other sites More sharing options...
firedkm Posted August 31, 2010 Share Posted August 31, 2010 Rocky I tried your solution and it sort of works. 'base_dir_ssl' => $protocol_link.((Configuration::get('PS_SSL_ENABLED') OR (isset($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) == 'on')) ? 'firedkm.fatcow.com/sterling/' : $server_host).__PS_BASE_URI__, If you look at the code and you will notice I have a directory after my shared ssl name. When I activate the ssl in prestashop and go into the login page. It takes me to my other website in the root directory. What can we do to stop this from happening??? Link to comment Share on other sites More sharing options...
rocky Posted September 1, 2010 Share Posted September 1, 2010 I'm not sure what to do. I don't have a shared SSL I can play around with. Hopefully, someone else has experience with shared SSL and can help. Link to comment Share on other sites More sharing options...
firedkm Posted September 1, 2010 Share Posted September 1, 2010 Well I fixed it.....I think.I put the website with the ssl into the root directory of the server instead of a folder. Then I also moved the other website out of the root directory.Seems to be working with out any errors.DaleThank you for the help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now