incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lou Gonzalez <...@terminal-phantoms.com>
Subject Re: Unable to use the HTTP proxy handler in the new externals API
Date Wed, 02 Mar 2011 23:48:40 GMT
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<lou@terminal-phantoms.com>  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.

Mime
View raw message