title: Rails app not working with Apache + Passenger
body: <p>I am trying to host a rails2 application on a new Virtual Machine which is CentOS 6 with Parallels Plesk Panel 11 (64-bit). 
  I have installed RVM,ruby,rails, and passanger Succefully using the steps given <a href="http://rabblemedia.net/blog/installing-rvm-ruby-rails-and-passenger-centos-6.html/" rel="nofollow noreferrer">here</a></p>
  
  <p>I have followed all the steps correctly. 
  I have installed <strong>ruby 1.8.7</strong> and <strong>rails 2.0.2</strong> </p>
  
  <p>Now the thing is that, I am able to run the application using the Webrick server at 3000 port on the new server. Everything works fine there. But when I want to run it with apache, it doesn't run. when I hit the url it returns the page </p>
  
  <blockquote>
    <p>Not Found</p>
    
    <p>The requested URL /account/login was not found on this server. Apache
    Server at www.mem.com Port 80</p>
  </blockquote>
  
  <p>Here is my passanger.conf file : </p>
  
  <blockquote>
    <p>/etc/httpd/conf.d/passenger.conf</p>
  </blockquote>
  
  <pre><code>    LoadModule passenger_module /usr/local/rvm/gems/ruby-1.8.7-p371/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
     PassengerRoot /usr/local/rvm/gems/ruby-1.8.7-p371/gems/passenger-3.0.19
     PassengerRuby /usr/local/rvm/wrappers/ruby-1.8.7-p371/ruby
  </code></pre>
  
  <p>Here is my virtual Host code :</p>
  
  <blockquote>
    <p>/etc/httpd/sites-available/mem.conf</p>
  </blockquote>
  
  <pre><code>    &lt;VirtualHost *:80&gt;
   ServerAdmin youremail@example.com
   DocumentRoot /var/www/mem/public
   ServerName www.mem.com
   ErrorLog /var/log/httpd/mem/error.log
   CustomLog /var/log/httpd/mem/access.log common
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Any suggestions will be greatly appreciated.</p>