X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=a41b62562d0d49bddcd4182f5b0a219d86fa9f41;hb=3a331f89650516f614122ef51cc1523277b56db8;hp=6cd9bea9c7ebf30d376c34f51fc3df768cf6efe0;hpb=1c5e3c3f45380b6ad370fa7ba6c2b8239c21071c;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 6cd9bea..a41b625 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,21 +1,29 @@ - + + %local; %idcommon; ]> - + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands - + metaproxy Metaproxy - server - + metaproxy @@ -24,12 +32,15 @@ + + + - + DESCRIPTION @@ -37,9 +48,9 @@ - + OPTIONS - + --help @@ -77,6 +88,18 @@ + -m timeformat + + Sets 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. @@ -84,6 +107,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 +121,13 @@ + -w dir + + Changes working directory to dir. + + + + -X Makes Metaproxy operate in debug mode. @@ -100,14 +137,108 @@ + 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 @@ -176,7 +307,7 @@ The Metaproxy - manual. + manual. @@ -186,15 +317,7 @@