NAME

XML-RPC Bridge


VERSION

Release date = 2005-09-10


SYNOPSIS

perl gus_xml-rpc_bridge.pl

http://127.0.0.1/cgi-bin/gus_xml-rpc_bridge.pl


DESCRIPTION

An XML-RPC CGI bridge for port-forwarding from cgi-bin in Apache webserver to stand-alone XML-RPC server running on the same PC.


INSTALLATION

Treat the same as any other CGI script on Apache web server.

For Apache on UNIX

Copy this script into thevof your Apache server. Then check its shebang for your own path to Perl, which...unless you run NetBSD OS...may be something other than /usr/pkg/bin/perl . Lastly perform chmod 755 upon it.

for Apache on Win32

It can be done. That is certain. But this author has not used Apache on Win32 for several years and has forgotten how. Whoever can provide details, please email me.


DEPENDENCIES

Perl Modules

Install these into Perl via ActiveState PPM, else into NetBSD pkgsrc or CPAN as appropriate for your OS: Frontier::Client , Frontier::RPC2 , Sys::Hostname::Long.

Companion XML-RPC Scripts

Particularly useful together with the companion Perl scripts gus_xml-rpc_server.pl (running on same PC) and gus_xml-rpc_client_tk.pl (running on some other network-attached PC). This Perl CGI script will permit the bridging of a firewall by forwarding from port 80 on Apache through to port 8080 on XML-RPC...and back again. Refer to documentation for companion scripts at these URLs: http://starling.us/tet/gus_perl/gus_xml-rpc_pl/gus_xml-rpc_server.html and http://starling.us/tet/gus_perl/gus_xml-rpc_pl/gus_xml-rpc_client_tk.html.

Of course, the bridge, client and server may all be run on a single PC for testing and experimentation.


AUTHOR

Gan Uesli Starling <gan@starling.us>


COPYRIGHT

Copyright (c) 2005, Gan Uesli Starling. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


SCRIPT CATEGORIES

Network