\"index\" is not redirecting the main controller to home page to localhost:3000" />
开发者

map.root is not working in rails 2.3

map.ro开发者_开发知识库ot :controller => "main", :action => "index"

is not redirecting the main controller to home page to localhost:3000

any suggestions?


Have you deleted index.html?


you must delete public/index.html


I found someone else who had had the same problem. Turns out that Passenger is running in production mode whilst my app was in development mode.

I put Passenger into development mode by adding the following line to my Virtual Hosts file

RailsEnv = development

Restarted Apache and it all works!!

Phew!

Purvez

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜