I have this .htaccess code that works perfectly:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ public/index.php [QSA,L]
</IfModule>
...but this code redirects to public sub directory. I don't know if it's possible to rewrite url without redirecting, just use /project/Login
appointing to /project/public/index.php/Login
.