X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=622f2157a3169f8cbbd56761068ab4f644075062;hb=4f606f0faf502a0aa4d05d3b84caca247759c806;hp=6cd9bea9c7ebf30d376c34f51fc3df768cf6efe0;hpb=1c5e3c3f45380b6ad370fa7ba6c2b8239c21071c;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 6cd9bea..622f215 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,21 +1,29 @@ - + + %local; %idcommon; ]> - + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands - + metaproxy Metaproxy - server - + metaproxy @@ -25,11 +33,13 @@ + + - + DESCRIPTION @@ -37,9 +47,9 @@ - + OPTIONS - + --help @@ -84,6 +94,13 @@ + -t + + Tests configuration. Returns exit code 0 on success; non-zero on failure. + + + + -u ID Makes Metaproxy changes its identity to ID after startup. @@ -91,6 +108,13 @@ + -w dir + + Changes working directory to dir. + + + + -X Makes Metaproxy operate in debug mode. @@ -100,14 +124,108 @@ + CONFIGURATION + Metaproxy's configuration is XML based. All elements + should be in namespace http://indexdata.com/metaproxy. + + + The root element must be named metaproxy and + must specify a version. Currently the version must be + 1.0. The children elements of metaproxy + are: + + + dlpath + + + Specifies the path for Loadable filter modules + + + + + start + + + Specifies the start route. Takes a route + attribute with the name of the route. + + + + + filters + + + Specifies all filters. Includes one ore more + filter elements with filter-specific + configuration material. + + + + + routes + + + Specifies all routes. Includes one or more + route elements. Each route + in turn includes one or more filter specifications. + + + + + + + The configuration is described in more detail in the + Metaproxy manual. + + EXAMPLES - - Start server with configuration in my.xml. - - metaproxy --config my.xml + + The configuration below specifies a simple Z39.50 proxy and + illustrates most configuration elements of Metaproxy. + + + + /usr/local/metaproxy/filters + + + + 10 + @:9000 + + + 30 + z3950.indexdata.dk + + + + + + + log + + + + + + +]]> - - + + Start server with configuration in my.xml. + + metaproxy --config my.xml + + + + + SCHEMA + + + FILES @@ -176,7 +294,7 @@ The Metaproxy - manual. + manual. @@ -186,15 +304,7 @@