X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=a2ef8036fb14fe38f49ba8f1bf3bc961fcca4e92;hb=6ce31309381822f3fe2a5364be1cd73a7472d62f;hp=0249788e01b558158fb93eb2987bd5a0971acd12;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 0249788..a2ef803 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,13 +1,22 @@ - + + %local; %idcommon; ]> + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands @@ -24,7 +33,9 @@ + + @@ -83,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. @@ -90,6 +108,13 @@ + -w dir + + Changes working directory to dir. + + + + -X Makes Metaproxy operate in debug mode. @@ -99,15 +124,109 @@ + 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 None important. @@ -175,7 +294,7 @@ The Metaproxy - manual. + manual. @@ -185,15 +304,7 @@