MyBB Community Forums

Full Version: SSL - site installed to public_html
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning, 

I recently uploaded my site (eventually!) to the public_html from my host. I've installed my SSL certificate correctly but nothing is secured. After reading a few threads:

http://forum.directadmin.com/showthread....#post29089

http://support.hostgator.com/articles/ss...ssl-basics

http://support.hostgator.com/articles/ss...quirements

Quote:Uploading Files to your Secure Site
 
All secure files need to be uploaded to the /domains/domain.com/private_html directory.  You may upload using the control panel's built-in file manager or FTP.  For example,
 
/domains/domain.com/private_html/index.html            ---> https://www.yourdomain.com/index.html
/domains/domain.com/private_html/secure/index.html ---> https://www.yourdomain.com/secure/index.html
 
The private_html directory operates the exact same way as the public_html directory.
 
Note:  You will not see a private_html directory if the SSL feature isn't enabled on your account.

Source.


...it looks like I have my install of mybb in the wrong place. All the files are in public_html and it seems they all need to be in private_html for the SSL to function. Is that correct? 
We've done quite a lot of work on the new site, installing themes, updating icons etc. Is it possible to move the entire install to the private_html folder without breaking everything or do all the paths need correcting?

The site in question is:

http://disengage.nl
It should be fine, yes.
It's possible to create a dynamic link in directadmin:

Quote:User Level Login in Directadmin -> Domain Administration -> Click on desired domain -> Check "Use a symbolic link from private_html to public_html - allows for same data in http and https" -> Save

Source.

It deletes the private_html folder. I checked the SSL certificate using a few tools:

https://www.digicert.com/help/

https://ssltools.websecurity.symantec.co...tCheck.jsp

https://www.sslshopper.com/ssl-checker.h...sengage.nl

All agreed the certificate is installed correctly.

The site at http://disengage.nl works fine after the link. However, the site at https://disengage.nl looks pretty bad.
I think I found the fix for this:

Quote:Does your store look different, broken, or not as you expected when either previewing it or loading your store securely (using HTTPS://)? Do you see any of the following behavior?
  • Colors are not displaying correctly.

  • Some elements or images are not displaying at all.

  • There is a warning symbol in your browser's address bar like this:
[Image: pi-urls-1.jpg?1434413292]
If yes, it's usually because some of the assets in your theme are not using protocol-independent URLs. Protocol-independent URLs are required to load your store through a secured connection (HTTPS protocol.)

Source.


I think a little tinkering in the themes should fix the issue. 

Thanks again for the support mybb!

Chiie

Big Grin
You aren't loading your content through SSL.

Example:
<link type="text/css" rel="stylesheet" href="http://disengage.nl/cache/themes/theme15/11.css" />
<link type="text/css" rel="stylesheet" href="http://disengage.nl/cache/themes/theme15/new.css" />
<link type="text/css" rel="stylesheet" href="http://disengage.nl/cache/themes/theme15/css3.css" />
<link type="text/css" rel="stylesheet" href="http://disengage.nl/cache/themes/theme15/global.css" />
<link type="text/css" rel="stylesheet" href="http://disengage.nl/cache/themes/theme15/dvz_shoutbox.css" />

Should be
<link type="text/css" rel="stylesheet" href="https://disengage.nl/cache/themes/theme15/11.css" />
<link type="text/css" rel="stylesheet" href="https://disengage.nl/cache/themes/theme15/new.css" />
<link type="text/css" rel="stylesheet" href="https://disengage.nl/cache/themes/theme15/css3.css" />
<link type="text/css" rel="stylesheet" href="https://disengage.nl/cache/themes/theme15/global.css" />
<link type="text/css" rel="stylesheet" href="https://disengage.nl/cache/themes/theme15/dvz_shoutbox.css" />
^ The Board URL setting shhould be updated in Configuration -> SIte Details, to be more specific.