From 2e969993c3f131b9e8fa75ac45c2567c7b0e59b8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Dec 2008 16:03:10 +0100 Subject: [PATCH] Added section about configuration. Mention dlpath. --- doc/common | 2 +- doc/metaproxy.xml | 98 +++++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 93 insertions(+), 7 deletions(-) diff --git a/doc/common b/doc/common index 95d92dd..eee76a1 160000 --- a/doc/common +++ b/doc/common @@ -1 +1 @@ -Subproject commit 95d92dd6e49fe3807fd1d6c664b3883580290103 +Subproject commit eee76a15493cb3f93cf6b88b9b7d87db17cdc85f diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 2d871bd..3ae0919 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -107,13 +107,99 @@ + 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 @@ -183,7 +269,7 @@ The Metaproxy - manual. + manual. -- 1.7.10.4