Kent Dahl <kentda / stud.ntnu.no> wrote in message news:<3E573FC8.1D388DDE / stud.ntnu.no>... > TOTO wrote: > > When I type http://localhost/~Frodo/eruby/entry.rhtml > > in my browser, there was an Internal Server Error. > > Do you have access to the webservers error logs? > Location may wary by distribution, I'm mostly used to it being at > /var/log/httpd/error_log > I often run > tail -f /var/log/httpd/error_log > as root while testing, so that I see the error messages in full as they > pop in. > > I'd also suggest using... > > > # for Apache::ERubyRun > > RubyRequire apache/eruby-run > > RubyRequire apache/eruby-debug > > > # handle *.rhtml as eruby files. > > <Files *.rhtml> > > SetHandler ruby-object > > RubyHandler Apache::ERubyRun.instance > > RubyHandler Apache::ERubyDebug.instance > > instead, since it will reduce the need for checking the error_log. Then > go back to eruby-run and ERubyRun once things are up and running. > > HTH Thanks. That is a very useful hint.