Hi everyone thanks in advace for your help.
Sorry if I repeat the question but I can't find a way to solve my problem in the forum or on the internet.
In Ubuntu 18.04 with lampp I have installed two sites:
/var/www/html/grav-admin/
/var/www/html/grav/
I give these permissions:
sudo chown -R www-data.www-data /var/www/html/grav-admin
sudo chown -R www-data.www-data /var/www/html/grav
I can only access grav installed in /var/www/html/grav/, the other site gives me an 404 error.
I don't want to create virtual hosts, is there a way for both sites to work?
Also I have a project in php in /var/www/html/phpprojet an I can't access.
Thanks for your help.