[OSM-dev] Setting up a test server

Nick Hill nick at nickhill.co.uk
Thu Sep 28 14:25:16 BST 2006



Nick Black wrote:
> On starting httpd I get this error:
> 
> [Thu Sep 28 14:01:22 2006] [warn] module ruby_module is already loaded, 
> skipping
> 
> Then when I try to view an rhtml file in firefox, it opens a download
> dialogoue box, so I guess apache doesnt know how to deal with the
> rhtml, which makes me think its a problem with mod_ruby in some way.

Ah yes, I had this problem as well. It is a mime-type issue. If you go 
ahead and download the file, you should find it is the page you expect 
to be rendered.

I found I had to comment out the line:
#application/x-httpd-eruby                      rhtml

in /etc/mime.types





More information about the dev mailing list