DirectoryIndex index.php index.html
Options -Indexes

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{HTTPS} =on [OR]
RewriteCond %{SERVER_PORT} =443 [OR]
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
