Why does my website appearance break under HTTPS but not HTTP ?
Posted
#7094
(In Topic #1736)
Posted
Posted
Anyway there is nothing breaking my site. Also in reguard to any changes to SSL or JS, on this site I purposely did none. So the page is stock except for using the theme wizard to "customize it".
I am not going to use the old ocPortal site once I can get the domain pointing it. And I believe I am changing hosts so that will probably happen soon.
Anyway The old site breaking was an immediate result of the installation of the SSL certificate on my domain.
Posted
I was able to access it after changing the "Add_Site" to all lowercase letters.
Posted
sholzy said
What about: https://davidlfriend.com/add_site/
I was able to access it after changing the "Add_Site" to all lowercase letters.
From “Questions about specific permissions”, 26th Feb 2025
Great, that works… but WHY?
Posted
Maybe your certificate was created using "add_site" vs "Add_Site" ? But I'd think that would just throw a site not secure warning.
"add_site" or "Add_Site" is just a directory in your root. Which way was it created and which way is it now?
Posted
I also checked the subdirectory and it is written all in lower case.
Posted
Posted
I read over this pretty quickly, but from what I see we're talking about a couple of issues…
- Why does the site at the root of the domain have broken CSS etc.
- Why the Add_Site site is not working on https unless lower case.
1- probably you need to edit the _config.php file (Composr) or info.php file (ocPortal) to change the base URL setting to be https:// instead of http://. This should stop it calling http resources for an https site and thus failing due to mixed content.
2- It is indeed weird. My guess is the Apache 'CheckSpelling' option is on for the server's HTTP configuration but not the server's HTTPS configuration.
2 guests and 0 members have recently viewed this.