On Sun, Mar 11, 2012 at 12:07 PM, Peter Bittner <[email protected]> wrote:
> Luke,
>
>>  use an apache redirect - it's what's on pyjs.org anyway :)
>>
>>    ProxyPass /JSON http://127.0.0.1:8000/JSON
>>    ProxyPassReverse /JSON http://127.0.0.1:8000/JSON
>>
>> so if you make that http://pyjs.org:8000/JSON it'll be all hunky-dory.
>
> For future reference, I got this to work without port 8000, i.e.
>
>     ProxyPass /JSON http://pyjs.org/JSON
>     ProxyPassReverse /JSON http://pyjs.org/JSON

 yay

> Now I do (at least) get a JSON response and the answer looks like
> correct JSON (with the repo content that is displayed online), but the
> Pyjamas Desktop application says "JSONRPC Error -32700: Parse error
> while decoding response".

 bizarre.

 ok, double-check that the JSONRPCExample works, first.

 also use libjsonrpc and write a small test program (python only) to
test the service.

 l.

Reply via email to