# Protection dossier admin
Options -Indexes

# Bloquer l'accès direct à config_admin.php
<FilesMatch "^config_admin\.php$">
  Order Allow,Deny
  Deny from all
</FilesMatch>

# Forcer HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
