I have the following directory structure in localhost :
-config
-hsapp
|--Controllers
|--Models
|--Views
-public
|--Assets
|--Index.php
-vendor
composer.json
It is perceived that it is an MVC structure. I created a virtualhost right for the public folder, locally, and it works perfectly.
I now need to upload to a folder on a web server, (domain.com/folder) but I do not know how to configure it so that when entering the folder, access the public so that it is the root folder, because the system works with routes.
Can anyone give birth to a beginner?
Thank you very much.