# Teruskan header Authorization ke PHP (wajib di banyak hosting cPanel agar login/sinkron tidak 401)
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP:Authorization} .
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_setenvif.c>
  SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
Options -Indexes

# Blokir file internal: konfigurasi, skema/migrasi SQL, dan semua file log.
<FilesMatch "(^config(\.example)?\.php$|\.sql$|\.log$|^error_log$|\.bak$|\.zip$)">
  Require all denied
</FilesMatch>
