# php -- BEGIN cPanel-generated handler, do not edit
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php80___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

# WAJIB: Matikan directory listing
Options -Indexes

# Default: buka login.php saat akses /admin/
DirectoryIndex login.php dashboard.php

# Blokir akses langsung ke file sensitif
<FilesMatch "\.(sql|log|bak|env|xlsx)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

# Security headers
<IfModule mod_headers.c>
    Header always set X-Robots-Tag "noindex, nofollow"
    Header always set Cache-Control "no-store, no-cache, must-revalidate, private"
    Header always set Pragma "no-cache"
</IfModule>