Options -Indexes
RewriteEngine On
RewriteRule ^(?:app|config|database|storage|modules)(?:/|$) - [F,L]
RewriteRule ^(?:cron\.php)$ - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ public/index.php [QSA,L]
