Lab Hack: Apache URI purgatory
To HTTP or to HTTPS, that is the question. This lab hack takes me deep into the domain.conf which controls all the VirtualHosts *:80 and VirtualHosts *:443 entries. RewriteEngine on RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} !^www\. RewriteCond %{HTTP_HOST| ^(?:www\.)?(.+)$ RewriteRule…