Topic on Project:Support desk

How to install Mediawiki using https?

2
Metathom (talkcontribs)

Hello,

do I have just to use the install script on [https://.../[directory]/mw-config/index.php https://.../[directory]/mw-config/index.php]

About https and mediawiki I only find this old extension: Extension:HttpsLogin

Thank you.

PS: On my old mediawiki 1.24.2 I tried a redirect via htaccess from http to https, but got errors because mediawiki uses not only relative paths.

MarkAHershberger (talkcontribs)

MediaWiki should work whether you use https or not. You probably need to set $wgServer to "//hostname/[directory]" or "https://hostname/[directory]" if you already have a LocalSettings.php or just start on the https url if you're trying to set this up.

Reply to "How to install Mediawiki using https?"