Topic on Manual talk:$wgForceHTTPS

Why use this instead of htaccess?

2
Johnywhy (talkcontribs)

My .htaccess contains:

RewriteEngine On

RewriteCond %{HTTPS} off

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

Does $WgForceHTTPS make the above .htaccess unnecessary?

Johnywhy (talkcontribs)
Reply to "Why use this instead of htaccess?"