Page 1 of 1

How to SSL for PHPMyFAQ

Posted: Thu Oct 18, 2018 4:17 pm
by mstjohn1974
I am trying to get my existing PHPMyFAQ to run over SSL and when I turn it on in Apache the page looks not quiet right. Is there a how-to for doing it the proper way? I was not able to find anything in the documentation..any help is greatly appreciated

Re: How to SSL for PHPMyFAQ

Posted: Sun Oct 21, 2018 4:15 pm
by Thorsten
Hi,

if SSL is running in Apache, just activate SSL in the admin configuration and change the URL of the FAQ in the admin configuration. That's all.

bye
Thorsten

Re: How to SSL for PHPMyFAQ

Posted: Mon Oct 22, 2018 2:52 pm
by mstjohn1974
Well thank you but is there a way to active or enable it without getting into this interface? I am asking because the latest browser update dont allow any longer to accept cookies any longer and without it I am unable to login.

Re: How to SSL for PHPMyFAQ

Posted: Tue Oct 23, 2018 3:40 pm
by kmacmillan
Is the process the same for IIS? We have SSL running and have enabled it in the phpMyFAQ config and changed the URL in config as well. Problem is, if users do not type https://my.site.com they end up on the HTTP version of the page. Subsequent clicks take them to HTTPS but we need the landing page to be HTTPS as well. We have tried URL rewrites in IIS and nothing seems to work.

Re: How to SSL for PHPMyFAQ

Posted: Tue Oct 23, 2018 5:09 pm
by mstjohn1974
Is there a way to enable SSL in PHPMyFAQ without being able to login to the phpmyfaq interface? I cannot login any longer but I have phpmyadmin and access to the database.

Re: How to SSL for PHPMyFAQ

Posted: Tue Oct 23, 2018 5:47 pm
by Thorsten
Hi,

you can check the values in the table "faqconfig" for the SSL support and the URL. These are the important keys:

- main.referenceURL -> your URL with https
- security.useSslForLogins -> true
- security.useSslOnly -> true

bye
Thorsten

Re: How to SSL for PHPMyFAQ

Posted: Tue Oct 23, 2018 5:58 pm
by mstjohn1974
Thanks a bunch that worked like charm

Re: How to SSL for PHPMyFAQ

Posted: Tue Oct 23, 2018 5:59 pm
by Thorsten
Hi,

awesome!

bye
Thorsten

Re: How to SSL for PHPMyFAQ

Posted: Fri May 07, 2021 5:39 pm
by irumi
I am having the same problem right now with our test faq.

http://faq.futuredigital360.com/

It won't redirect to https but if the visitors/users type https manually, the browser recognizes the SSL.

The following advised below has been set already but still the site won't redirect to https.

- main.referenceURL -> your URL with https
- security.useSslForLogins -> true
- security.useSslOnly -> true

Our PHPMyFAQ version is 2.9.13. Do i need to do something in the .htaccess file to force our website to go to https?
Your response is highly appreciated. Thank you!