# Setting rails root

**URL:** <https://www.ruby-forum.com/t/setting-rails-root/196654>\
**Category:** Rails\
**Created:** [April 25, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/setting-rails-root/196654 "2008-04-25T12:18:33Z")\
**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 25, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/setting-rails-root/196654/1 "2008-04-25T12:18:33Z")

</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:  
[http://www.somedomain.com/rorapp/](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
