Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 7342 invoked from network); 2 Mar 2011 23:35:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 23:35:35 -0000 Received: (qmail 89348 invoked by uid 500); 2 Mar 2011 23:35:32 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 89311 invoked by uid 500); 2 Mar 2011 23:35:32 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 89303 invoked by uid 99); 2 Mar 2011 23:35:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 23:35:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of luis.d.gonzalez96@gmail.com designates 209.85.213.180 as permitted sender) Received: from [209.85.213.180] (HELO mail-yx0-f180.google.com) (209.85.213.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 23:35:26 +0000 Received: by yxe1 with SMTP id 1so206848yxe.11 for ; Wed, 02 Mar 2011 15:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=ORntACTVNfNuFkZj5H+2tHhMrIWMVxoJ9yy7F3kMzWU=; b=Oa3UNzNEnxWr0Kcp0/Wov7qAItKp4eAQVTaS44V+LNoFzBNX7Be0KSOSXNQTeFJJOn r4eBCRQ3fG5MrkR8cSFvvjFFdb9EkcpudXrQIoCJbBf8YVSMS1xVe9RmAt9GjhXUNLF1 XHCt8tzs77Q+YYqSVKqL9RH+gt4ugunAHc+x8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=P3kzfJtDoRnflexCoddexVHO3fL+Qq//YAP2TX6aXK8j30LnU1mgd0ZGgAMNLmdQrn a5Axpvu0Jp54UbZHQUewp2W8VPikMCjE/V2rqRfhDB3HKOtqENWLZf64BVgIE2QQyn76 MKtCg2YBMUm407YGvMsQyyrpli38qfDu5EF9M= Received: by 10.100.94.5 with SMTP id r5mr259728anb.33.1299108905742; Wed, 02 Mar 2011 15:35:05 -0800 (PST) Received: from [192.168.1.81] (99-100-173-8.lightspeed.snantx.sbcglobal.net [99.100.173.8]) by mx.google.com with ESMTPS id i10sm599977anh.32.2011.03.02.15.35.04 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 15:35:05 -0800 (PST) Sender: Luis Gonzalez Message-ID: <4D6ED46D.8070008@terminal-phantoms.com> Date: Wed, 02 Mar 2011 17:36:13 -0600 From: Lou Gonzalez User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110301 Lanikai/3.1.8 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Unable to use the HTTP proxy handler in the new externals API Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'm on version 1.0.2 and attempting to use the new HTTP proxy handler in the externals API using the example linked to from the CouchDB wiki: https://github.com/apache/couchdb/commit/11469d902b15145d361f9f7ec66a09ac3d04757c I have this in my local.ini configuration: [httpd_global_handlers] _google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>} I'm trying to reach this with curl: curl http://127.0.0.1:5984/_google/search?q=plankton Doing so returns '{"error":"unknown_error","reason":"undef"}'. See the full log here: https://gist.github.com/851996 Is there extra configuration I need to add to my local.ini? What am I missing? Cheers, Lou