Topic: Setting up Rails Program in subfolder
I have a pretty basic question that I am asking simply because I am not too familiar with the best way to do this. I am putting up my Rail project in a subfolder initially to make sure everything is functioning properly before I make it completely public. I have gotten over the major hurdles with 500 error and now this is all that is left. I copied my project to the following folder.
Currently when I access it I go to http://www.mydomain.com/rails/public. Each page works great, but none of the links work. When I try them they go to http://www.mydomain.com/controller/action instead of http://www.mydomain.com/rails/public/controller/action . What is the best way to configure the project to work from http://www.mydomain.com/rails/ .
Whenever I try to RewriteBase or use an Alias it doesn't seem to work.
Any help would be wonderful.
I should also add that I am in an environment that doesn't let me create vhosts in apache.
Last edited by twism113 (2006-12-20 19:02:10)