[OSM-dev] new server feature requires apache conf update

Richard Fairhurst richard at systemeD.net
Tue Jul 25 23:09:41 BST 2006


Imi wrote:

> I included a small change to the server in svn, which would make an
> change in the apache config necessary.

While you're at it... I added segments.rb to the REST interface the 
other day, which can be used to get more than one segment at once 
(similar to the already-existing nodes.rb). It needs an extra line in 
the config:

RewriteRule   ^/api/0.3/segments$      /ruby/api/0.3/segments.rb        
[PT,T=text/plain]

(I haven't patched the svn file.)

> PS: Way history is broken. The dao.rb has changed it's get_multi()
> function signature a while ago and get_multi_history() still calls the
> old form. If nobody already knows a solution, I'll have a look on this?

On a related note, I'm currently trying to document the db tables at
http://wiki.openstreetmap.org/index.php/Database_schema
but I'm fairly new to OSM development and may have repeatedly missed 
the point... all edits welcome.

cheers
Richard





More information about the dev mailing list