Options -Indexes
ServerSignature Off

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(?:src|pages|partials|tests|storage)/ - [F,L,NC]
</IfModule>

<FilesMatch "^(config\.php|config\.local\.php|bootstrap\.php|migrate_legacy\.php|.*\.sql|README.*|ANALISIS.*|MIGRASI.*|SECURITY.*)$">
    Require all denied
</FilesMatch>

<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set X-Frame-Options "SAMEORIGIN"
    Header always set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>
