[OSM-dev] Request for Comments API URL

David Sheldon dave at earth.li
Wed Apr 18 11:41:45 BST 2007


On Wed, Apr 18, 2007 at 11:36:55AM +0100, SteveC wrote:
> On Wed, 2007-04-18 at 12:29 +0200, Frederik Ramm wrote:
> > Hi,
> > 
> > > I therefore propose to set up a parallel API URL with the intention  
> > > all API
> > > requests should migrate to that.
> > > http://api.openstreetmap.org/apiversion/
> > 
> > +1
> > 
> > If rails cannot do this (distinguish based on Host: header), then you  
> > can always run the rails on port 12345 internally and use the apache  
> > proxy module to route "api.openstreetmap.org" requests there. But I  
> > am not sure who listens on port 80 anyway - is it Apache, or Rails,  
> > or an Apache running Rails?
> 
> exactly. People don't tend to run rails with apache these days, lighttpd
> or mongrel seem to be faster.
> 
> I'd also prefer for effort to be expended finishing it off rather than
> talk about things it should do once deployed - I'm all for this being a
> post-deployment feature for 0.5, but it's hard enough as it is to get
> 0.4 out the door.

Why can't we suggest that URL is used, and have both work in the mean
time. Apache can proxy api.xxx to www. 

David

-- 
         I wanna torture you. I used to love it, and it's been
          such a long time. I mean, the last time I tortured
             someone, they didn't even *have* chainsaws.
                -- Angelus, "Buffy The Vampire Slayer" - Becomming II




More information about the dev mailing list