Andi Geheim
2008-Oct-12 18:02 UTC
Change link_to routing http://domain.tdl/static/application
Hi 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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andi Geheim
2008-Oct-12 19:17 UTC
Re: Change link_to routing http://domain.tdl/static/application
okay is not nessesary anymore, i found an other way ;) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Freddy Andersen
2008-Oct-13 00:07 UTC
Re: Change link_to routing http://domain.tdl/static/application
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 <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> okay is not nessesary anymore, i found an other way ;) > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---