Options -Indexes

# Paksa HTTPS (tidak aktif di localhost/XAMPP)
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^(localhost|127\.0\.0\.1)(:\d+)?$ [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

<FilesMatch "^(README\.txt|koneksi\.php\.bak)$">
    Require all denied
</FilesMatch>
