[pmwiki-users] https with PmWiki

Christopher Cox ccox at endlessnow.com
Mon May 29 13:28:38 CDT 2017

On 05/29/2017 08:03 AM, Thomas Lundgren wrote:
> It´s seems that the era of http soon will end and https will (continue) to live
> long and prosper...
> When looking for how to make my PmWiki-installations more prosper and serve
> pages with ssl/https i found this page;
> http://www.pmwiki.org/wiki/Cookbook/SwitchToSSLMode
> The tips and instructions on that page are rather old. Are they still valid and
> "best practice" or are there any new tips and information that I can use?
> My installations contains a standard PmWiki (with some cookbooks...), Apache
> running on a FreeBSD-server that I have total control over.

For apache I use in my .htaccess (this should be generic enough), before your 
other rules:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

More information about the pmwiki-users mailing list