Hello All,
     I have gotten through installing Ruby, Rails, and Passenger with all of
your help. I'm configuring the host, and keep getting hung up on the
details. i have edited the /etc/apache2/apache2.conf and added the
following:

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

Do I need to add NameVirtualHost *:80 to the .conf file?

then i created a Virtual Host:

vim /etc/apache2/sites-available/test

and added

ServerName test.rails
DocumentRoot /var/rails/test/public

Updated the /etc/apache2/httpd.conf

NameVirtualHost *:80

<VirtualHost *:80>
  ServerName www.silliemunkie.com
  ServerAlias silliemunkie.com
  DocumentRoot /var/rails/test
  <Directory /var/rails/test>
    Options All
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

and get the following error:

r...@li41-22:~# /etc/init.d/apache2 restart
 * Restarting web server apache2
[Wed Dec 17 21:30:46 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
 ... waiting [Wed Dec 17 21:30:47 2008] [warn] NameVirtualHost *:80 has no
VirtualHosts

thank you,
Jason

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to