<VirtualHost *:80> block is in config but still says no VirtualHosts


#1

So I keep getting the following warning when I try apachectl restart

NameVirtualHost *:80 has no VirtualHosts

But in the config file, I did add the following
Can someone tell me what I did wrong?

NameVirtualHost *:80

<VirtualHost *:80>
ServerName localhost
DocumentRoot /home/max/ror/depot/public

<Directory /home/max/ror/depot/public>
Order allow, deny
Allow from all

LoadModule passenger_module
/var/lib/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/bin/ruby1.8