Update .htaccess for HTTPS redirection: Modified the RewriteCond to include both hexahost.de and dev.hexahost.de, ensuring secure connections for both domains.
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{HTTPS} off
|
RewriteCond %{HTTPS} off
|
||||||
RewriteCond %{HTTP_HOST} ^(www\.)?hexahost\.de$ [NC]
|
RewriteCond %{HTTP_HOST} ^(www\.)?(hexahost\.de|dev\.hexahost\.de)$ [NC]
|
||||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
|
|
||||||
# PHP-Endung aus URLs entfernen
|
# PHP-Endung aus URLs entfernen
|
||||||
|
|||||||
Reference in New Issue
Block a user