change apache rewrite to redirect
[ach-master.git] / src / configuration / Webservers / Apache / hsts-vhost
index 394b574..94d07e1 100644 (file)
@@ -1,4 +1,3 @@
 <VirtualHost *:80>
-  RewriteEngine On
-  RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=permanent]
+  Redirect permanent / https://SERVER_NAME/
 </VirtualHost>