Options -Indexes
DirectoryIndex index.php
<FilesMatch "^(?!index\.php$|gateway\.php$|status\.php$).*\.php$">
    Require all denied
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^gateway\.asp$ gateway.php [END,QSA]
</IfModule>
