Forum: Ruby on Rails rails / windows / apache question

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.
Chris H. (Guest)
on 2009-05-11 21:13
(Received via mailing list)
In my app I say go to /companies/index for a modal box.

Locally it runs fine because it sees /public as the root.

When I put it on the server I have an alias mapped for the root.  when
I goto the url above it goes to the root of the server which id
obviously not going to be correct.

If I go to companies/index  it goes to  /rootofcurrentcontroller/
companies which does not work either.

How do I get it to recognize that /companies/index is the root of the
rails app?
Chris H. (Guest)
on 2009-05-19 01:22
(Received via mailing list)
This topic is locked and can not be replied to.