RewriteEngine On
RewriteRule \.htaccess - [F]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^login$ public/login.php [L,QSA]
RewriteRule ^api/.*$ public/api.php [L,QSA]
RewriteRule ^test$ public/test.php [L,QSA]
