incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Unable to use the HTTP proxy handler in the new externals API
Date Thu, 03 Mar 2011 00:17:14 GMT
Pretty close, as in, will only get bug fixes and the like applied.

On Wed, Mar 2, 2011 at 7:16 PM, Paul Davis <paul.joseph.davis@gmail.com> wrote:
> No prob. The 1.1.x branch is fairly close to what'll be released so if
> you go and build that from source you'd be able to have those nifty
> bits while not being on too shaky of ground.
>
> On Wed, Mar 2, 2011 at 6:48 PM, Lou Gonzalez <lou@terminal-phantoms.com> wrote:
>> 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