DirectoryIndex index.php
Options -Indexes

# Entrées PHP publiques : index.php, annuaire.php, api.php, api-donnees.php, api-v1.php, api-guide.php, donnees.php, planning.php, ics.php, assistant.php et mot-de-passe.php.
<FilesMatch "(?i)\.(json|py|pyc|cmd|ps1|md|ini|log|lock|tmp|bak|zip|dpapi)$">
    Require all denied
</FilesMatch>
<FilesMatch "^\.">
    Require all denied
</FilesMatch>

<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set X-Robots-Tag "noindex, nofollow, noarchive"
</IfModule>
