Ah, dumb mistake on my part. Thx for clearing this up.
On 03/02/2011 05:39 PM, Paul Davis wrote:
On Wed, Mar 2, 2011 at 6:36 PM, Lou Gonzalez<[email protected]> wrote:
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
That feature doesn't exist in 1.0.2. It'll be in 1.1.0 when that's released.