# Transfer Panel — Apache ayarları

<IfModule mod_rewrite.c>
    RewriteEngine On

    # install.php kurulumdan sonra silinmişse 404
    # RewriteRule ^install\.php$ - [F,L]

    DirectoryIndex index.php
</IfModule>

# Hassas dosyalara erişimi engelle (yanlışlıkla public'e kopyalanırsa)
<FilesMatch "\.(sql|md|env|log|lock)$">
    Require all denied
</FilesMatch>

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

# PHP önerileri (destekleyen sunucularda)
<IfModule mod_php.c>
    php_value upload_max_filesize 10M
    php_value post_max_size 10M
    php_value max_execution_time 60
</IfModule>
