New answers tagged

1

RewriteCond %{SERVER_NAME} =bans.example.net [OR] RewriteCond %{SERVER_NAME} =status.example.net [OR] RewriteCond %{SERVER_NAME} =example.net [OR] RewriteCond %{SERVER_NAME} =forums.example.net RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] Change SERVER_NAME to HTTP_HOST. Or, look for UseCanonicalName On in your server config and ...


Top 50 recent answers are included