X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=9fec7164d9de890c99dcba7706050fb8f483c0fb;hb=abe840d8d4a289b0cf6221a3e1bc11e640e6c708;hp=2d871bdcc2a48b95a5246979ec088be08591f249;hpb=2155eee0022f1e7a0bff561318d66d006dbb65e8;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 2d871bd..9fec716 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,35 +1,47 @@ - + + %local; %idcommon; ]> + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands - + metaproxy Metaproxy - server - + metaproxy + + + - + DESCRIPTION @@ -37,25 +49,32 @@ - + OPTIONS - + --help - Displays help message. + Display help message. --version - Displays Metaproxy version. + Display Metaproxy version. + -v loglevel + + Specify YAZ log level (all, debug, log) + + + + --config config Specify the configuration. @@ -77,44 +96,157 @@ + -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 - Specifies file which holds PID after startup. + Specify file which holds PID after startup. + + + + + -t + + Test configuration. Returns exit code 0 on success; non-zero on failure. -u ID - Makes Metaproxy changes its identity to ID after startup. + Change user ID upon startup. -w dir - Changes working directory to dir. + Change working directory to dir. -X - Makes Metaproxy operate in debug mode. + 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 @@ -183,7 +315,7 @@ The Metaproxy - manual. + manual. @@ -193,15 +325,7 @@