X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=a2ef8036fb14fe38f49ba8f1bf3bc961fcca4e92;hb=f93c665ae1f46f6b3ffc5fe935b3e26abd641a28;hp=6cd9bea9c7ebf30d376c34f51fc3df768cf6efe0;hpb=1c5e3c3f45380b6ad370fa7ba6c2b8239c21071c;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 6cd9bea..a2ef803 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,14 +1,22 @@ - + + %local; %idcommon; ]> - + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands @@ -25,7 +33,9 @@ + + @@ -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,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. @@ -176,7 +294,7 @@ The Metaproxy - manual. + manual. @@ -186,15 +304,7 @@