# Dizin listelemesini kapat ve varsayılan sayfa olarak login.php'yi ayarla
Options -Indexes +FollowSymLinks
DirectoryIndex index.php

# HTTP'den HTTPS'ye yönlendirme
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]