Why does my website appearance break under HTTPS but not HTTP ?
Posted
#8420
(In Topic #2772)

Standard member

Any idea what is going on?
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Site staff

Posted

Standard member

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.
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

I was able to access it after changing the "Add_Site" to all lowercase letters.
Steve
Posted

Standard member

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 “Post #8,423”, 9th January 2022, 2:50 am
Great, that works… but WHY?
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

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?
Steve
Posted

Standard member

I also checked the subdirectory and it is written all in lower case.
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Standard member

Steve
Posted

Site director

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.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.