On Mon, Jan 12, 2009 at 6:25 PM, Paul Davis <[email protected]> wrote: > On Mon, Jan 12, 2009 at 7:23 PM, Jeff Hinrichs - DM&T > <[email protected]> wrote: >>>> Futon on Apache CouchDB 0.9.0a733593-incubating >>>> >>>> --local.ini-- >>>> [external] >>>> test = /home/jlh/Projects/venvs/couch1/test_external.py >>>> >>> >>> Try also adding something like: >>> >>> [httpd_db_handlers] >>> _test = {couch_httpd_external, handle_external_req, <<"test">>} >>> >>> And then hit the url: >>> >>> http://127.0.0.1:5984/delasco-test/_test/ >>> >>> Notice that _test is what the url becomes, and <<"test">> matches the >>> name you specified in the [external] section. >>> >>> At least, I'm pretty sure that's the idea. I haven't had the chance to >>> test this since it got changed. >>> >> >> Thanks! that is the bit of mojo I needed. >> >> Should I file a bug against, >> http://wiki.apache.org/couchdb/ExternalProcesses ? Doesn't appear >> that I can make the change nor submit a patch. >> > > You just need to create an account to edit the wiki. But yes please > update the docs. > I've updated the wiki, http://wiki.apache.org/couchdb/ExternalProcesses if someone wouldn't mind reviewing. I was just parroting what I was told.
Why was the additional level of abstraction necessary? I saw the committ message r727973 | jchris | 2008-12-19 02:25:19 -0600 (Fri, 19 Dec 2008) | 1 line shorter path to _action servers, external supports better routing control It does make the url shorter, but I assume that there is more to it than just that. curious-ly, -Jeff
