Newbie question about rails on apache2

Hi,

I just setup my rails application on apache2, just a very simply
controller, and one method /stats/show
When go to the root page, I can see the rails default page, but if I
go to any other page like stats/show lead me to the 500.html page.
What should I do? Thank you very much!

There’s not allot of information in your post for a very open
question…

  1. Are you using mod_rails? Mongrel?
  2. Have you deleted the public/index.html?
  3. Have you set the root route in config/routes.rb?

Output from your log file (you’re probably in dev mode, so log/
development.log) would be helpful also.

Output from your log file (you’re probably in dev mode, so log/
development.log) would be helpful also.

ignor that… you’re in production mode.

Thank you so much for reply!
I’m using mod_rails
I deleted public/index.html and used map.connect ‘’, :controller =>
‘stats’, :action => ‘show’
to route.
If I try to use ruby script/sever, every thing works fine, but if I
change to use apache2 the 500.html shows again.