Example as given in doc
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 14 Mar 2005 11:13:12 +0000 (11:13 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 14 Mar 2005 11:13:12 +0000 (11:13 +0000)
ztest/config1.xml

index 627eb87..45995be 100644 (file)
@@ -1,23 +1,28 @@
-<!-- $Id: config1.xml,v 1.2 2005-03-03 23:16:20 adam Exp $ -->
-<yazgfs>
-  <listen id="public9900">tcp:@:9900</listen>
-  <listen id="public9901">tcp:@:9901</listen>
-  <server>
-    <host>host1</host>
+<!-- $Id: config1.xml,v 1.3 2005-03-14 11:13:12 adam Exp $ -->
+ <yazgfs>
+  <listen id="public">tcp:@:9900</listen>
+  <listen id="internal">unix:/var/tmp/socket</listen>
+  <server id="server1">
+    <host>server1.mydomain</host>
     <directory>/var/www/s1</directory>
-    <config>zebra1.cfg</config>
+    <config>config.cfg</config>
   </server>
-  <server>
-    <host>host2</host>
+  <server id="server2">
+    <host>localhost</host>
     <directory>/var/www/s2</directory>
-    <config>zebra2.cfg</config>
-  </server>
-  <server listenref="public9901">
-    <directory>/var/www/s3</directory>
-    <config>zebra3.cfg</config>
+    <config>config.cfg</config>
     <cql2rpn>../etc/pqf.properties</cql2rpn>
-    <explain>
-      <my>explain</my>
+    <explain xmlns="http://explain.z3950.org/dtd/2.0/">
+      <serverInfo>
+        <host>server2.mydomain</host>
+        <port>9900</port>
+        <database>a</database>
+      </serverInfo>
     </explain>
   </server>
-</yazgfs>
+  <server id="server3" listenref="internal">
+    <directory>/var/www/s3</directory>
+    <config>config.cfg</config>
+  </server>
+ </yazgfs>
+