Forum: Ruby on Rails Change link_to routing http://domain.tdl/static/application

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
5c087c6a1b61f6080ed2bc81787e0fbc?d=identicon&s=25 Andi Geheim (chaosbanane)
on 2008-10-12 20:02

I have a mongrel proxy that listen on that url:
http://www.domain.tdl/blaa/main/index. The 'blaa' is a static link that
activates the proxy.

How can I change the rails routing, that every link directs to
http://www.domain.tdl/blaa/.../index and not like it is at the moment to
http://www.domain.tdl/main/index ?

So the problem is that everytime when I click on a link I get an error
that the file is not existing, naturally.

Greetings Andi
5c087c6a1b61f6080ed2bc81787e0fbc?d=identicon&s=25 Andi Geheim (chaosbanane)
on 2008-10-12 21:17
okay is not nessesary anymore, i found an other way ;)
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2008-10-13 02:08
(Received via mailing list)
You have to add a prefix line in the mongrel that you are running...

Starting mongrel with a prefix

mongrel_rails start -e production -d --prefix /blaa

On Oct 12, 12:17 pm, Andi Geheim <>
This topic is locked and can not be replied to.