# .htaccess root — Nusa Scooter

# Matikan directory listing
Options -Indexes

# Blok akses langsung ke file sensitif
<FilesMatch "\.(sql|md|log|env)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Deny from all
    </IfModule>
</FilesMatch>

# Sembunyikan info versi PHP dari header (kalau diizinkan hosting)
<IfModule mod_headers.c>
    Header unset X-Powered-By
</IfModule>
