README for mod_xmlrpc module for the Apache httpd server
- What is XML-RPC?
- How does it work?
- Installation instructions
- Configuration
- Sample
- What is XML-RPC?
XML-RPC it's a protocol for calling remote procedures via HTTP protocol. All the data are encrypted in XML. More information on XML-RPC included specification you can see at http://www.xml-rpc.com/.
2. How does it work?
the mod_xmlrpc module:
1) gets a request
2) reads the method name in a format "libraryname.programname" and the method data
3) runs the CGI program "programname" and sends the data to it (the program reads the data from stdin)
4) reads the program results
5) returns the response
Have you another ideas how to realize it?
3. Installation instructions
See INSTALL for details
4. Configuration
Sample of mod_xmlrpc configuration directives
<Location /RPC2>
SetHandler xml-rpc
</Location>
xmlrpcDebug on xmlrpcDebugFile /home/andrew/apache/logs/xmlrpc.log xmlrpcLibrary samples /home/andrew/apache/xmlrpc/samples/ xmlrpcLibrary work /home/andrew/apache/xmlrpc/work/
5. Sample
There is a little sample program: diginame this program returns a digit name according to a digit received
To compile the sample you have to specify a path to xmlparser.h in the Makefile and run "make"
