# زلیکس — ریشه public_html (امنیت 2.7.1)

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^public/ - [L]
    RewriteRule ^install/ - [L]
    RewriteRule ^(database|tests|app|config|storage)/ - [F,L]
    RewriteRule ^(VERSION|README\.md)$ - [F,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

DirectoryIndex public/index.php index.php
Options -Indexes
