Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 22728 invoked from network); 24 Jan 2009 14:16:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2009 14:16:27 -0000 Received: (qmail 96911 invoked by uid 500); 24 Jan 2009 14:16:24 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 96860 invoked by uid 500); 24 Jan 2009 14:16:24 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 96810 invoked by uid 99); 24 Jan 2009 14:16:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 06:16:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 14:16:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9D703234C4A9 for ; Sat, 24 Jan 2009 06:15:59 -0800 (PST) Message-ID: <1922388851.1232806559643.JavaMail.jira@brutus> Date: Sat, 24 Jan 2009 06:15:59 -0800 (PST) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-209) Refine httpd_db_handlers API to map the externals from paths directly to scripts In-Reply-To: <1498201611.1231816740260.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt updated COUCHDB-209: --------------------------------- Fix Version/s: 0.9 > Refine httpd_db_handlers API to map the externals from paths directly to scripts > -------------------------------------------------------------------------------- > > Key: COUCHDB-209 > URL: https://issues.apache.org/jira/browse/COUCHDB-209 > Project: CouchDB > Issue Type: Improvement > Components: HTTP Interface > Affects Versions: 0.9 > Environment: all > Reporter: Jeff Hinrichs > Assignee: Chris Anderson > Priority: Blocker > Fix For: 0.9 > > > We could change the API to map the externals from paths directly to > scripts, like > [httpd_db_handlers] > _mypath = {couch_httpd_external, handle_external_req, "/path/to/my/script"} > which would be fine by me. > The current code is like it is because the original implementation was > designed to have multiple scripts mounted at the /db/_external path. > Do you mind opening a ticket about this? - I'm happy to write the code > but I'm supposed to be working on the book right now, so it'll have to > wait. > link to mail list thread: > http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/%3C5aaed53f0901120631v112916eewcc50e96c44728a3d@mail.gmail.com%3E > It would appear to be a good solution to allow the flexibility desired while narrowing the number of local.ini edits to accomplish. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.