title: Rails + Passenger + Apache + Alias
body: <p>I have a problem with Rails + Passenger + Apache + Alias.
  I tried to run a rails app over an Alias and I declared this virtualhost </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      Alias /smart_data /home/pablo/Proyectos/Net-Works/SmartData/smart_data/public
      &lt;Location /smart_data&gt;
          PassengerBaseURI /smart_data
          PassengerAppRoot /home/pablo/Proyectos/Net-Works/SmartData/smart_data
      &lt;/Location&gt;
      &lt;Directory /home/pablo/Proyectos/Net-Works/SmartData/smart_data/public&gt;
          Allow from all
          Options -MultiViews
          Require all granted
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>It works ok, but  my app  read a file from the folder /public/data/ and apache try read this file from /var/www/html/data.</p>
  
  <p>Could someone help me?.</p>