9 lines
242 B
Text
9 lines
242 B
Text
|
|
RewriteEngine On
|
||
|
|
RewriteCond %{HTTPS} off [OR]
|
||
|
|
RewriteCond %{HTTP_HOST} ^www\. [NC]
|
||
|
|
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
|
||
|
|
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
|
||
|
|
|
||
|
|
<IfModule mod_security.c>
|
||
|
|
SecFilterEngine Off
|
||
|
|
</IfModule>
|