How to SSL for PHPMyFAQ

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
mstjohn1974
Posts: 6
Joined: Wed Jan 15, 2014 11:26 pm

How to SSL for PHPMyFAQ

Post 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
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to SSL for PHPMyFAQ

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mstjohn1974
Posts: 6
Joined: Wed Jan 15, 2014 11:26 pm

Re: How to SSL for PHPMyFAQ

Post 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.
kmacmillan
Posts: 1
Joined: Fri Oct 12, 2018 8:36 pm

Re: How to SSL for PHPMyFAQ

Post 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.
mstjohn1974
Posts: 6
Joined: Wed Jan 15, 2014 11:26 pm

Re: How to SSL for PHPMyFAQ

Post 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.
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to SSL for PHPMyFAQ

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mstjohn1974
Posts: 6
Joined: Wed Jan 15, 2014 11:26 pm

Re: How to SSL for PHPMyFAQ

Post by mstjohn1974 »

Thanks a bunch that worked like charm
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to SSL for PHPMyFAQ

Post by Thorsten »

Hi,

awesome!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
irumi
Posts: 2
Joined: Fri Sep 07, 2018 4:59 pm

Re: How to SSL for PHPMyFAQ

Post 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!
Post Reply