This commit is contained in:
2024-04-16 15:18:19 +02:00
commit 488b929f3c
24 changed files with 1665 additions and 0 deletions

10
.htaccess Normal file
View File

@ -0,0 +1,10 @@
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTP_USER_AGENT} !(BlackBerry)
RewriteCond %{HTTP_USER_AGENT} !(Windows\sNT\s5\.[12])
RewriteCond %{HTTP_HOST} ^(www\.)?endeavouros.cz
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
RewriteBase /
RewriteCond %{REQUEST_URI} ^(/www/|/www)
RewriteRule ^(www/)(.*)$ https://%{HTTP_HOST}/$2 [R=301,L]