# Rails/Phusion Not Working Right

**URL:** <https://discuss.rubyonrails.org/t/rails-phusion-not-working-right/60720>\
**Category:** rubyonrails-talk\
**Created:** [September 4, 2011, 5:25pm UTC](https://discuss.rubyonrails.org/t/rails-phusion-not-working-right/60720 "2011-09-04T17:25:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [September 4, 2011, 5:25pm UTC](https://discuss.rubyonrails.org/t/rails-phusion-not-working-right/60720/1 "2011-09-04T17:25:37Z")

</div>

Hi, I'm hoping someone can help me out. I'm a newbie and recently wanted to get my Rails/Radiant CMS app working with Apache. I am running Freebsd with ruby 18 and Radiant CMS. I installed Apache and then installed Phusion Passenger via gem. I followed the instructions and in Apache, pointed the DocumentRoot to my app's public folder.

Apache starts fine but when I open the webpage, it displays the content from the dispatch.fcgi file. I looked online and someone said to comment out the stuff in the .htaccess file. I did that and now when I go the page, it just lists an index of the files in my public folder instead of running my application. I've looked around online and can't seem to find a solution.

Below is the code from my httpd.conf file:

\<VirtualHost \*:80\> ServerName www.testapp.bounceme.net DocumentRoot /home/Raziel/www/famfit/public \<Directory /home/Raziel/www/famfit/public\> AllowOverride all Options -Multiviews Allow from all \</Directory\> \</VirtualHost\>

Any help would be appreciated.
