Ubuntu 14.04 and above:
The Root dir is var/www/html - (why they felt the need to change this is beyond me).
Prior to 14, the root dir was var/www
This upgrade to 14.04 broke sections of my app until I discovered this fact. Using port 8080 and listening on it sort of worked...
You may change the root dir in 14.04 by setting it back to var/www in the proper apache2 config file (as I did to fix my apps).
The Root dir is var/www/html - (why they felt the need to change this is beyond me).
Prior to 14, the root dir was var/www
This upgrade to 14.04 broke sections of my app until I discovered this fact. Using port 8080 and listening on it sort of worked...
You may change the root dir in 14.04 by setting it back to var/www in the proper apache2 config file (as I did to fix my apps).