# جلوگیری از دسترسی مستقیم به config.php و نسخه‌های پشتیبان احتمالی‌اش (config.php.bak، config.php~ و...)
# که ممکنه به‌جای اجرا شدن، به‌صورت متن خام لو برن و اطلاعات دیتابیس/توکن ربات رو فاش کنن.
<IfModule mod_authz_core.c>
    <FilesMatch "^config\.php">
        Require all denied
    </FilesMatch>
    <FilesMatch "\.sql$">
        Require all denied
    </FilesMatch>
</IfModule>
<IfModule !mod_authz_core.c>
    <FilesMatch "^config\.php">
        Order allow,deny
        Deny from all
    </FilesMatch>
    <FilesMatch "\.sql$">
        Order allow,deny
        Deny from all
    </FilesMatch>
</IfModule>

<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/css application/javascript text/javascript application/json text/plain
</IfModule>
