Apache2::JSONRPC - mod_perl handler for JSONRPC
<Location /json-rpc> SetHandler perl-script PerlOptions +GlobalRequest PerlResponseHandler Apache2::JSONRPC->handler JSONRPC_Class CGI::JSONRPC::Dispatcher </Location>
Apache2::JSONRPC is a subclass of CGI::JSONRPC that provides some extra bells and whistles in a mod_perl2 environment.
Currently, the main feature is the "JSONRPC_Class" apache2 config directive, which allows you to define what class to use for invoking JSONRPC methods. The default is the same as CGI::JSONRPC uses, CGI::JSONRPC::Dispatcher.
Tyler "Crackerjack" MacDonald <japh@crackerjack.net> and David Labatte <buggyd@justanotherperlhacker.com>.
Copyright 2006 Tyler "Crackerjack" MacDonald <japh@crackerjack.net>
This is free software; You may distribute it under the same terms as perl itself.
The "examples" directory (examples/hello-cgi.html & examples/jsonrpc.cgi), CGI::JSONRPC.
To install CGI::JSONRPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::JSONRPC
CPAN shell
perl -MCPAN -e shell install CGI::JSONRPC
For more information on module installation, please visit the detailed CPAN module installation guide.