# Apache (WHM/cPanel): כל בקשה שאינה קובץ קיים עוברת ל-index.php
Options -Indexes
DirectoryIndex index.php

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^ index.php [L]
</IfModule>

# חסימת קבצים נסתרים וקבצי גיבוי/הגדרות
<FilesMatch "(^\.|\.(bak|sql|sqlite|log|ini|dist|md)$)">
    Require all denied
</FilesMatch>
