I've changed this from the original VHost but it should still work in my mind:
Listen 80 NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost ServerAdmin ross@localhost DocumentRoot /var/www <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined </VirtualHost>
The only difference between this and other working VHosts is that /var/www requires higher privileges to access it - I get a "Could not connect" error which I assume is a 500 error (Chrome hides the status codes and I can't remember). What can I do to make this work?