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 » Thu Oct 18, 2018 4:17 pm

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

Re: How to SSL for PHPMyFAQ

Post by Thorsten » Sun Oct 21, 2018 4:15 pm

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 » Mon Oct 22, 2018 2:52 pm

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 » Tue Oct 23, 2018 3:40 pm

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 » Tue Oct 23, 2018 5:09 pm

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

Re: How to SSL for PHPMyFAQ

Post by Thorsten » Tue Oct 23, 2018 5:47 pm

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 » Tue Oct 23, 2018 5:58 pm

Thanks a bunch that worked like charm

Thorsten
Posts: 14644
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to SSL for PHPMyFAQ

Post by Thorsten » Tue Oct 23, 2018 5:59 pm

Hi,

awesome!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest