<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^public/(clear_cache|system_check)\.php$ $1.php [L]
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Options -Indexes
<FilesMatch "^\.">
Require all denied
</FilesMatch>

<Files "maintenance_gate.php">
Require all denied
</Files>
