# Problem with htaccess file

**URL:** <https://www.ruby-forum.com/t/problem-with-htaccess-file/129559>\
**Category:** Ruby\
**Created:** [February 19, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/problem-with-htaccess-file/129559 "2008-02-19T17:24:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yazan\_bassam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yazan\_bassam](https://www.ruby-forum.com/u/yazan_bassam)\
**Post date:** [February 19, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/problem-with-htaccess-file/129559/1 "2008-02-19T17:24:37Z")

</div>

I am having the following problem,

I am deploying an ruby application on godaddy , i know they are not the  
best. However i managed to make my application run. My problem is that i  
need to rewrite the root directory because i have a symbolic link in my  
root folder. e.g [mysite.com/link/](http://mysite.com/link/) … the internal links in my site all  
point to the root for example … [mysite.com/account/register](http://mysite.com/account/register) … i get a  
400 not found. i need to rewrite it as [mysite.com/link/account/register](http://mysite.com/link/account/register)  
… i have been struggling a lot of time … plzzz help

---

<div class="post-metadata">

**Author:** ![yazan\_bassam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yazan\_bassam](https://www.ruby-forum.com/u/yazan_bassam)\
**Post date:** [February 19, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/problem-with-htaccess-file/129559/2 "2008-02-19T23:22:16Z")

</div>

Yazan Bassam wrote:

> I am having the following problem,
> 
> I am deploying an ruby application on godaddy , i know they are not the  
> best. However i managed to make my application run. My problem is that i  
> need to rewrite the root directory because i have a symbolic link in my  
> root folder. e.g [mysite.com/link/](http://mysite.com/link/) … the internal links in my site all  
> point to the root for example … [mysite.com/account/register](http://mysite.com/account/register) … i get a  
> 400 not found. i need to rewrite it as [mysite.com/link/account/register](http://mysite.com/link/account/register)  
> … i have been struggling a lot of time … plzzz help

400 is bad request 404 is not found. Are you sure godaddy supports ruby,  
rails, and even .htaccess?
