.htaccess If/Else statement doesn't work with HTTP_HOST – Debian
This is my .htaccess file: RewriteEngine On <If "%{HTTP_HOST} == '<myHost>'"> RewriteRule ^$ <url> [R=301,L] </If> <Else> RewriteRule ^$ <another_url> [R=301,L] </Else> But it doesn't work and it seems like the <If> statement is ignored. I also made an echo…