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

F00f81a25d7418390fd687e47e12492f?d=identicon&s=25 Max You (max-you)
on 2011-06-04 12:45
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
  </Directory>
</VirtualHost>

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
This topic is locked and can not be replied to.