X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=9fec7164d9de890c99dcba7706050fb8f483c0fb;hb=abe840d8d4a289b0cf6221a3e1bc11e640e6c708;hp=b10ea05d9f19eb329a79925a0f8cc99af8a4a120;hpb=601933683c68801e86c4f1380b70a8972eaa1cb1;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index b10ea05..9fec716 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,29 +1,47 @@ - + + %local; %idcommon; ]> - + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands - + metaproxy - Metaproxy - daemon + Metaproxy - server - + metaproxy + + + + + + + + + + - + DESCRIPTION @@ -31,35 +49,204 @@ - + OPTIONS - + --help - Displays help message. + Display help message. + --version + + Display Metaproxy version. + + + + + -v loglevel + + Specify YAZ log level (all, debug, log) + + + + --config config Specify the configuration. + + -D + + Puts Metaproxy in the background after startup. + + + + + -l logfile + + Specifies YAZ log file. + + + + + -m timeformat + + Set the format of time-stamps for all logging performed via yaz_log. + Refer to + + strftime(3) + man page for the format. + + + + + -p pidfile + + Specify file which holds PID after startup. + + + + + -t + + Test configuration. Returns exit code 0 on success; non-zero on failure. + + + + + -u ID + + Change user ID upon startup. + + + + + -w dir + + Change working directory to dir. + + + + + -X + + 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.com + + + + + + + log + + + + + + +]]> - - + + Start server with configuration in my.xml. + + metaproxy --config my.xml + + + + + SCHEMA + + + FILES @@ -128,7 +315,7 @@ The Metaproxy - manual. + manual. @@ -138,15 +325,7 @@