[OSM-dev] set up test server

Jonas Svensson jonass at lysator.liu.se
Fri Aug 18 20:15:44 BST 2006


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 
you say. The config: <http://www.mozoft.com/OSM/openstreetmap-
apache-conf>. How do I see what plugins I have? Is this the correct 
listing:
jonas at ubuntu:/etc/apache2/mods-enabled$ ls -l
total 0
lrwxrwxrwx 1 root root 40 2006-08-17 19:41 99headers.load -> 
/etc/apache2/mods-available/headers.load
lrwxrwxrwx 1 root root 38 2006-08-17 19:41 99proxy.conf -> 
/etc/apache2/mods-available/proxy.conf
lrwxrwxrwx 1 root root 38 2006-08-17 19:41 99proxy.load -> 
/etc/apache2/mods-available/proxy.load
lrwxrwxrwx 1 root root 40 2006-08-17 19:40 99rewrite.load -> 
/etc/apache2/mods-available/rewrite.load
lrwxrwxrwx 1 root root 37 2006-08-17 19:21 cgid.conf -> 
/etc/apache2/mods-available/cgid.conf
lrwxrwxrwx 1 root root 37 2006-08-17 19:21 cgid.load -> 
/etc/apache2/mods-available/cgid.load
lrwxrwxrwx 1 root root 37 2006-08-17 19:43 ruby.load -> 
/etc/apache2/mods-available/ruby.load
lrwxrwxrwx 1 root root 40 2006-08-17 19:21 userdir.conf -> 
/etc/apache2/mods-available/userdir.conf
lrwxrwxrwx 1 root root 40 2006-08-17 19:21 userdir.load -> 
/etc/apache2/mods-available/userdir.load

Should there be an eruby module too?

/Jonas





More information about the dev mailing list