[OSM-dev] set up test server

Jonas Svensson jonass at lysator.liu.se
Fri Aug 18 20:45:50 BST 2006


On 18 Aug 2006 at 21:15, Jonas Svensson wrote:

> On 18 Aug 2006 at 20:12, Immanuel Scholz wrote:
> 
> > 
> > > On 17 Aug 2006 at 21:40, Jonas Svensson wrote:
> > >
> > >> When I got 404 I was trying to access from another machine. When I
> > >> actually did try localhost I got an unparsed RHTML-file. So I guess
> > >> the problem is with the apache setup.
> > >
> > > I was wrong. The server servs perfectly fine HTML, not unparsed
> > > RHTML. But Apache still labels it "Content-Type: application/x-
> > > httpd-eruby". Anyone able to tell me whats wrong?
> > 
> > I still thinks the problem is in the apache config. Can you post yours?
> > 
> > And make double sure you have all apache plugins that sound like "ruby" ;)
> 
> Yes it most likely is a problem with apache or a missing module as 


I solved it by changing /etc/mime.types, removed "application/x-
httpd-eruby rhtml" and added rhtml to text/html. Don't know if that 
is the right thing to do but it seems to work.

/Jonas





More information about the dev mailing list