• I want to thank all the members that have upgraded your accounts. I truly appreciate your support of the site monetarily. Supporting the site keeps this site up and running as a lot of work daily goes on behind the scenes. Click to Support Signs101 ...

https folder and what needs to be there?

Graphics2u

New Member
I'm trying to set up a store on my site. I have installed SSL Cert and have set the configuration of the store to use https:// as it's secure side. Now it gives me the option of what components of the store I want to be secure but my question is what files for my site need to be in the https folder and which ones stay in the http folder? Do I need a complete copy of my site in the https folder? I have copied the store files to the https folder but I still get a 404 not found error when I go to check out.

Anybody with some experience with this? Thank you!
 

webguru

New Member
This comes directly from the help tab on my shopping cart. It might be of some help as to a starting point for you.
------------------------------------------------------------



I have enabled SSL but my store isn't loading. What's going on?
-----------------------------------------------------------------
If you have a valid SSL certificate and have enabled secure checkout in your shopping cart, and your site doesn't load in secure mode, it may be because your web server has two separate folders for your store: one for the normal, unsecure HTTP version and one for the secure HTTPS version. If this is the case then when you load your store in secure mode, the HTTPS folder will be empty and you'll see an error such as 404 Not Found.

To fix this and make your store work in both normal HTTP and secure HTTPS modes, you need to ask your hosting provider the following information:


I am trying to setup my application to work in SSL mode, however my web hosting account has 2 separate folders - one for HTTP and one for HTTPS, so can you please create a symlink to redirect HTTPS requests to my HTTP folder? Once you do this my store will work in secure mode.

My SSH details are as follows:

Server: [Type your server here]
User: [Type your SSH user here]
Password: [Type your SSH password here]


Your web hosting provider will then be able to create a symlink for you which will make your store work in both normal and secure modes. You can find your SSH login details in the initial email sent to you by your web host when you signed up, or in your web hosting control panel.
 

Graphics2u

New Member
This comes directly from the help tab on my shopping cart. It might be of some help as to a starting point for you.
.
Thanks, I'll ask my hosting company about that. I definately have 2 folders in my webspace for the site files. One is httpdocs and the other is httpsdocs. So this may be what I need.

Thanks again!
 

webguru

New Member
Thanks, I'll ask my hosting company about that. I definately have 2 folders in my webspace for the site files. One is httpdocs and the other is httpsdocs. So this may be what I need.

Thanks again!

Just wondering if you ever got this figured out or not?
 

wmshuman

New Member
an easy fix

This comes directly from the help tab on my shopping cart. It might be of some help as to a starting point for you.
------------------------------------------------------------



I have enabled SSL but my store isn't loading. What's going on?
-----------------------------------------------------------------
If you have a valid SSL certificate and have enabled secure checkout in your shopping cart, and your site doesn't load in secure mode, it may be because your web server has two separate folders for your store: one for the normal, unsecure HTTP version and one for the secure HTTPS version. If this is the case then when you load your store in secure mode, the HTTPS folder will be empty and you'll see an error such as 404 Not Found.

To fix this and make your store work in both normal HTTP and secure HTTPS modes, you need to ask your hosting provider the following information:


I am trying to setup my application to work in SSL mode, however my web hosting account has 2 separate folders - one for HTTP and one for HTTPS, so can you please create a symlink to redirect HTTPS requests to my HTTP folder? Once you do this my store will work in secure mode.

My SSH details are as follows:

Server: [Type your server here]
User: [Type your SSH user here]
Password: [Type your SSH password here]


Your web hosting provider will then be able to create a symlink for you which will make your store work in both normal and secure modes. You can find your SSH login details in the initial email sent to you by your web host when you signed up, or in your web hosting control panel.

You can do the exact same thing on your own using an .HTACCESS file. Just redirect all of your http traffic to your https.

This little bit of code will forward all traffic from port 80 (http) to https (443)...

Code:
RewriteCond %{SERVER_PORT} ^80$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

... another alternative if you are not using ModSSL

Code:
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Paste one of those codes, preferably the first one into a blank text file and save it as 1.htaccess.txt. Upload the file to your root public_html folder and make sure to use ascii instead of binary. Once uploaded, rename the file to .htaccess (no extension at the end and a period at the beginning). Problem solved.
 
Top