Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shared SSL issue


Guest

Recommended Posts

I am hoping this has not already been addressed somewhere in the forum. I spent several hours searching and scrolling for for another post that dealt with this issue.

 

I have set up a shared SSL certificate through my Host Provider. Because it is a shared SSL certificate my host provider requires me to give the domain an alias. I have modified the "/includes/configure.php" file and entered the appropriate addresses for the "http" and "https" servers. When i go to the domain "alias" that i have set up everything works fine. The certificate is recognized and i get the "lock", in my browser, by the address bar indicating that i am in a secure environment.

 

The problem is:

If i click on ANY link on the main page of my sore, it goes back to the true domain address (which is not protected) versus the alias address (which is protected) and i am no longer in a secure environment. The only page that is secure is the title page of my store. I think i understand why this is happening, but i am not sure where i need to change the code to redirect the links to the alias. I am not exactly sure how to redirect the links either.

 

If anyone could give me a pointer or two i would be extremely greatful! :lol:

Link to comment
Share on other sites

I am hoping this has not already been addressed somewhere in the forum. I spent several hours searching and scrolling for for another post that dealt with this issue.

 

I have set up a shared SSL certificate through my Host Provider. Because it is a shared SSL certificate my host provider requires me to give the domain an alias. I have modified the "/includes/configure.php" file and entered the appropriate addresses for the "http" and "https" servers. When i go to the domain "alias" that i have set up everything works fine. The certificate is recognized and i get the "lock", in my browser, by the address bar indicating that i am in a secure environment.

 

The problem is:

If i click on ANY link on the main page of my sore, it goes back to the true domain address (which is not protected) versus the alias address (which is protected) and i am no longer in a secure environment. The only page that is secure is the title page of my store. I think i understand why this is happening, but i am not sure where i need to change the code to redirect the links to the alias. I am not exactly sure how to redirect the links either.

 

If anyone could give me a pointer or two i would be extremely greatful! :lol:

 

Do you have a url?

Link to comment
Share on other sites

problem solved. I was editing the wrong configure file. I needed to edit the on in /includes/local/config.php versus /includes/configure.php.

 

sheesh.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...