2 echo "Please edit your Apache configuration file, and add these lines:"
4 echo "LoadModule passenger_module /var/aur/passenger3/src/passenger-3.0.0/ext/apache2/mod_passenger.so"
5 echo "PassengerRoot /var/aur/passenger3/src/passenger-3.0.0"
6 echo "PassengerRuby /opt/ruby1.8/bin/ruby"
8 echo "After you restart Apache, you are ready to deploy any number of Ruby on Rails"
9 echo "applications on Apache, without any further Ruby on Rails-specific"
13 echo "Deploying a Ruby on Rails application: an example"
15 echo "Suppose you have a Ruby on Rails application in /somewhere. Add a virtual host"
16 echo "to your Apache configuration file, and set its DocumentRoot to"
17 echo "/somewhere/public, like this:"
19 echo "<VirtualHost *:80>"
20 echo " ServerName www.yourhost.com"
21 echo " DocumentRoot /somewhere/public # <-- be sure to point to 'public'!"
22 echo " <Directory /somewhere/public>"
23 echo " AllowOverride all # <-- relax Apache security settings"
24 echo " Options -MultiViews # <-- MultiViews must be turned off"
28 echo "And that's it! You may also want to check the Users Guide for security and"
29 echo "optimization tips, troubleshooting and other useful information:"
31 echo "/var/aur/passenger3/src/passenger-3.0.0/doc/Users guide Apache.html"