X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=3ae0919d84a0d104dda45c1e3b91d8cb7cb204d1;hb=bdd5283295ee58a15784958e5448a08a6500d5a3;hp=0249788e01b558158fb93eb2987bd5a0971acd12;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git
diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml
index 0249788..3ae0919 100644
--- a/doc/metaproxy.xml
+++ b/doc/metaproxy.xml
@@ -25,6 +25,7 @@
+
@@ -90,6 +91,13 @@
+ -w dir
+
+ Changes working directory to dir.
+
+
+
+ -X
Makes Metaproxy operate in debug mode.
@@ -99,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
@@ -175,7 +269,7 @@
The Metaproxy
- manual.
+ manual.