Firefox PHP

vps https

Posted by salmobytes 
vps https
October 04, 2018 10:24PM
I have a "virtual private server"
I bought one of their ssl certificates and used a "cpanel" admin form to "install the certificate"

Then in the DOCUMENT_ROOT of one domain I made a .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ [mydomain.com]

At this point everything worked, without Google Chrome announcing "not a trusted site" anymore, or what ever that message was.

Everything worked except phorum, which is largely broken.
In a few *.tpl templates (for instance posting.tpl) when I found something like

action="{URL->ACTION}"

...On a hunch I changed that to the hard-coded action="/phorum/posting.tpl" and got some of it to work. But not all of it.

Clicking "Yes" on a moderation form, to delete a thread, redirects to the breadcrumbs forum-name-list page without doing anything.

What is the right workflow for doing this?
Perhaps it's a different .htaccess



Edited 3 time(s). Last edit at 10/05/2018 12:37AM by salmobytes.
Re: vps https
October 05, 2018 01:17AM
Are you using
Automatic HTTP Path: ?
and
admin \ Phorum General Settings page, scroll to File/Path Settings and check that "HTTP Path" entry matches your rewrite rule...
https: //yourPhorum .com /forum


If you still have something that will not work in a module check for a hard coded path. (I remember an issue with a video module, though it may have been fixed).
Re: vps https
October 05, 2018 01:20AM
Thank you. That was fast. That got everything working. And Chrome no longer says "not a trusted site"



Edited 3 time(s). Last edit at 10/05/2018 02:29AM by salmobytes.
Sorry, only registered users may post in this forum.

Click here to login