
Even though I have files placed in my var/www/ folder and apache2 is running, I don't get any files listed. Also I can't access any files directly and inserting an index.html file does nothing.
I'm on trusty 64

Even though I have files placed in my var/www/ folder and apache2 is running, I don't get any files listed. Also I can't access any files directly and inserting an index.html file does nothing.
I'm on trusty 64
In 14.04 the default DocumentRoot is not /var/www/ but /var/www/html/.
You can change that in /etc/apache2/sites-enabled/000-default.conf (or whatever site config you re using).