Issue when calling a rails controller "main"



I’ve just tried to upload a rails app I’m developing, and hit a snag. It seems that for any controllers called main, rails+apache is sending the web page as plain-text. Even if you try to set the content-type manually from the application, it still gets sent as plain text.

I was wondering whether anyone else had the same problem, or a fix? My workaround was simply to rename the controller, but for those who are not developing their own application this might be more of an issue…