Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Weird HTTPS Issue / Unable to force URL

18 views
Skip to first unread message

Kévin Costelloe

unread,
Jan 13, 2024, 5:05:21 AM1/13/24
to Known Developers
Hello,

My webhost ouvaton.coop has a setup where their frontend deals with HTTPS and in the background their internal web servers always seem to think they're responding via HTTP.

My site https://auntiesocial.oh.mg/ is very much HTTPS enabled but Known is determined that it is running on http://auntiesocial.oh.mg/ causing all kinds of problems.  I've not been able to find anywhere where I can get Known to write URLs in HTTPS.

Anybody run across this before and have a solution or any idea where I could start ?

Many thanks,

kévin

Kévin Costelloe

unread,
Jan 13, 2024, 5:43:46 AM1/13/24
to Known Developers
Got it !

Idno/Core/Config.php I modified

        function getDisplayURL()
        {
            $url       = $this->getURL();
            $urischeme = parse_url($url, PHP_URL_SCHEME);
            if (\Idno\Common\Page::isSSL()) {
                $newuri = 'https:';
            } else {
                $newuri = 'https:'; <- from http: to https:
            }

Reply all
Reply to author
Forward
0 new messages