Added sample YAZ GFS config file.
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 16 Dec 2005 15:01:25 +0000 (15:01 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 16 Dec 2005 15:01:25 +0000 (15:01 +0000)
etc/Makefile.am
etc/yazgfs.xml [new file with mode: 0644]

index 1e6c6bc..c32b16d 100644 (file)
@@ -1,7 +1,9 @@
-# $Id: Makefile.am,v 1.3 2004-01-18 21:11:11 adam Exp $
+# $Id: Makefile.am,v 1.4 2005-12-16 15:01:25 adam Exp $
 
 etcdatadir = $(pkgdatadir)/etc
-etcdata_DATA =  pqf.properties \
+etcdata_DATA =  \
+ pqf.properties \
+ yazgfs.xml \
  maps.xml \
  MARC21slim2DC.xsl \
  MARC21slim2MODS.xsl \
diff --git a/etc/yazgfs.xml b/etc/yazgfs.xml
new file mode 100644 (file)
index 0000000..8dbc21a
--- /dev/null
@@ -0,0 +1,19 @@
+<!-- $Id: yazgfs.xml,v 1.1 2005-12-16 15:01:25 adam Exp $ -->
+<!-- sample YAZ GFS config file .. see 
+  http://indexdata.dk/yaz/doc/server.vhosts.tkl -->
+<yazgfs>
+  <listen id="public1">tcp:@:9000</listen>
+  <server id="server1">
+     <directory>.</directory> <!-- directory where backend is running -->
+     <config>zebra.cfg</config>
+     <cql2rpn>pqf.properties</cql2rpn>
+     <explain xmlns="http://explain.z3950.org/dtd/2.0/">
+        <serverInfo>
+           <host>myserver.org</host>
+           <port>9900</port>
+           <database>Default</database>
+        </serverInfo>
+    </explain>
+  </server>
+</yazgfs>