X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=6a5c31b8cc77dc81b76318a76567dd24f099a286;hb=0f94a4a954324a7cfc37bedf9e3d9556104b3807;hp=c205ac79dfa186410908b0a03188aa98104ebf6c;hpb=9960226abe1700d3dc87e68529755e5cff09f0d9;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index c205ac7..6a5c31b 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,26 +1,41 @@ - - - %common; + + %local; + + %idcommon; ]> - - + + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands metaproxy - Metaproxy - daemon + Metaproxy - server metaproxy + + + + + + + @@ -43,24 +58,167 @@ + --version + + Displays Metaproxy version. + + + + --config config Specify the configuration. + + -D + + Puts Metaproxy in the background after startup. + + + + + -l logfile + + Specifies YAZ log file. + + + + + -p pidfile + + Specifies file which holds PID after startup. + + + + + -u ID + + Makes Metaproxy changes its identity to ID after startup. + + + + + -w dir + + Changes working directory to dir. + + + + + -X + + Makes Metaproxy operate in debug mode. + + + + 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. @@ -128,7 +286,7 @@ The Metaproxy - manual. + manual.