Options -MultiViews
RewriteEngine On
RewriteBase /

# ACME doğrulama
RewriteRule ^\.well-known/acme-challenge/ - [L,NC]

# .asp --> index.php?req=...
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.asp$ index.php?req=$1 [QSA,PT,L]

# index.html -> kök
RewriteRule ^index\.html$ / [R=301,L]

# Varsayılan giriş
DirectoryIndex index.php index.html
