Options -Indexes
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<FilesMatch "(otp_dev\.log|config\.php)$">
  Order Allow,Deny
  Deny from all
</FilesMatch>
<IfModule mod_headers.c>
  Header set X-Content-Type-Options "nosniff"
  Header set X-Frame-Options "SAMEORIGIN"
</IfModule>
<IfModule mod_php.c>
  php_flag display_errors Off
  php_flag log_errors On
</IfModule>
