NewLukasBlog/.htaccess
2024-02-28 16:47:11 +01:00

6 lines
265 B
ApacheConf

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\.)?lukaskanka.cz
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]