Configure CodeIgniter 4 to run directly without the need to put the path to the public folder in the url, example:
http://localhost/ci4login/
And not having to put the full path for it to run.
http://localhost/ci4login/public/
This without the need to delete the public folder, or remove the file index.php
and the file from it .htaccess
and thus be able to maintain all the security.
I use CodeIgniter 3 and I want to migrate to CI4 and this part stops me since the ideal is to use the framework as its use was designed