X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=3ae0919d84a0d104dda45c1e3b91d8cb7cb204d1;hb=6afc47267f76271433a958b94b2f534dd347c18e;hp=0e494bb9a591cefe75cfeda539e7df22325c54b8;hpb=cb2467a71f98decd7adbaf768d3a1c0a1df65bdf;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 0e494bb..3ae0919 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,9 +1,10 @@ + + %idcommon; ]> - - + metaproxy 1 @@ -11,14 +12,21 @@ metaproxy - Metaproxy - daemon + Metaproxy - server metaproxy + + + + + + + @@ -41,22 +49,157 @@ + --version + + Displays Metaproxy version. + + + + --config config - Specify the configuation. + 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 + + FILES @@ -71,10 +214,62 @@ auth_simple 3mp , + + backend_test + 3mp + , + + bounce + 3mp + , + + frontend_net + 3mp + , + + http_file + 3mp + , + + log + 3mp + , + + multi + 3mp + , + + query_rewrite + 3mp + , + + record_transform + 3mp + , + + session_shared + 3mp + , + + sru_z3950 + 3mp + , + + template + 3mp + , + + virt_db + 3mp + , + + z3950_client + 3mp + . The Metaproxy - manual. + manual.