# Prevent viewing of htaccess file. Order Allow,Deny Deny from all # Prevent directory listings Options All -Indexes ErrorDocument 404 /404.html RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https [OR] RewriteCond %{HTTP_HOST} ^astrolabe\.coop [NC] RewriteRule ^ https://www.astrolabe.coop%{REQUEST_URI} [L,NE,R=301]