# Routing problems (works with mongrel / webrick, but fails in

**URL:** <https://www.ruby-forum.com/t/routing-problems-works-with-mongrel-webrick-but-fails-in/110007>\
**Category:** Rails\
**Created:** [July 21, 2007, 3:01am UTC](https://www.ruby-forum.com/t/routing-problems-works-with-mongrel-webrick-but-fails-in/110007 "2007-07-21T03:01:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [July 21, 2007, 3:01am UTC](https://www.ruby-forum.com/t/routing-problems-works-with-mongrel-webrick-but-fails-in/110007/1 "2007-07-21T03:01:34Z")

</div>

for some reason all of the apps in my server are not working when i  
upgraded my version of rails. booting up a ruby server on the same  
machine works fine, but when using fcgi/apache, only my root level  
routes are working.

as a temporary fix, i was able to add a custom route for every  
controller i have like this…

map.connect ‘mycontroller/:action/:id’, :controller =\> ‘mycontroller’

but i would like to figure out why this is happening in the first  
place. some searching around, i found a few people with the same  
problem but there weren’t any responses as to what could be the cause.

anyone else has this problem with the default routes not working? here  
is the versions of everything that i am using:

ruby 1.8.4  
rails 1.2.3  
gem 0.9.2  
rake 0.7.2

---

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [July 21, 2007, 3:26am UTC](https://www.ruby-forum.com/t/routing-problems-works-with-mongrel-webrick-but-fails-in/110007/2 "2007-07-21T03:26:35Z")

</div>

I finally found something: [http://dev.rubyonrails.org/ticket/6755](http://dev.rubyonrails.org/ticket/6755)

Apparently it has something to do with the fact that I have my app  
symlinked to a folder that’s not the root. as suggested in that link,  
adding realpath() to RAILS\_ROOT in the boot.rb seems to have fixed my  
problem.

Anyone know if this is going to be fixed in a future version?
