# Setting rails root

**URL:** <https://www.ruby-forum.com/t/setting-rails-root/135761>\
**Category:** Rails\
**Created:** [April 24, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/setting-rails-root/135761 "2008-04-24T18:42:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schalk\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Post date:** [April 24, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/setting-rails-root/135761/1 "2008-04-24T18:42:30Z")

</div>

Hi there,

I was running a RoR app on a domain such as [http://www.somedomain.com](http://www.somedomain.com)  
using the Mongrel server. I have now moved the app to a host that has  
the following requirements.

The RoR app resides outside of public\_html folder with a symlink to a  
folder inside the public\_html folder. The other thing is instead of  
accessing the site via a URL such as: [http://www.somedomain.com](http://www.somedomain.com) it  
runs as follows:  
[somedomain.com](http://www.somedomain.com/rorapp/)

The new host also uses FastCgi as apposed to Mongrel. The controllers  
and actions are not working on this new environment. Is this a  
configuration option or what else might I be missing.

Regards,  
Schalk
