could you tell me which exact file I have to edit in /etc/apache2/sites-enabled/ ?
In the file : sudo nano /etc/apache2/sites-enabled/000-default.conf , in this file i don't have any <Directory > tag.
If i add under : DocumentRoot /var/www/html
index.php doesn't work. (HTTP error 500).
I found something similar of what you showed, in this file:
sudo nano /etc/apache2/mods-enabled/dir.conf , there i have the following:
DirectoryIndex index.php index.cgi index.pl index.html index.xhtml inde$
i switch the 'index.php' at the beginning as suggested, but doesn't work either. And if I delete from this list 'index.html', the browser still show domain/index.html page correctly, so I presume it is not changed from here.
in my Filezilla i have:
index.php (not working)
can you tell me what to do? because I am lost.
thanks a lot