Topic on Manual talk:HotCat/Flow

Trouble with https on Apache Server

1
Ribewiki (talkcontribs)

Hotcat may produce '0 error' after changing from http to https with the following in the .htaccess file:

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

The error can be solved by adding this to LocalSettings.php:

$wgServer = '//example.com';
$wgCanonicalServer = 'https://example.com';

--Ribewiki (talk) 13:51, 19 September 2021 (UTC)

Reply to "Trouble with https on Apache Server"