help.verua.ch/.htaccess.off
2026-01-05 08:46:20 +01:00

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>