Options -Indexes
RewriteEngine On
RewriteRule ^api/(.*)$ api.php [QSA,L]
<FilesMatch "^(config\.php|config\.example\.php|db\.php|security\.php|create_admin\.php|schema\.sql|README\.md|CPANEL_SETUP\.md)$">
  Require all denied
</FilesMatch>
