Move config.xml, yaz-proxy.sh to etc
[yazpp-moved-to-github.git] / etc / config.xml
diff --git a/etc/config.xml b/etc/config.xml
new file mode 100644 (file)
index 0000000..488b6d7
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<!-- $Id: config.xml,v 1.1 2003-10-23 14:19:16 adam Exp $ -->
+<proxy>
+  <target default="1" name="voyager">
+    <!-- default target -->
+    <url>bagel.indexdata.dk</url>
+    <target-timeout>240</target-timeout>
+    <client-timeout>180</client-timeout>
+    <keepalive>
+      <bandwidth>1000000</bandwidth>
+      <pdu>1000</pdu>
+    </keepalive>
+    <limit><!-- per minute limits .. -->
+      <bandwidth>2000000</bandwidth>
+      <pdu>50</pdu>
+      <retrieve>100</retrieve>
+    </limit>
+    <attribute type="1" value="1-11,13-1010"/>
+    <attribute type="1" value="*" error="114"/>
+    <syntax type="opac"/>
+    <syntax type="usmarc"/>
+    <syntax type="none"/>
+    <syntax type="xml" marcxml="1"/>
+    <syntax type="*" error="238"/>
+    <preinit>0</preinit>
+  </target>
+  <target name="localhost">
+    <url>localhost:9999</url>
+    <url>localhost:9998</url>
+    <target-timeout>300</target-timeout>
+    <client-timeout>180</client-timeout>
+    <keepalive/> <!-- keepalive enabled -->
+    <limit><!-- limits .. -->
+      <bandwidth>50000</bandwidth>
+      <pdu>60</pdu>
+      <retrieve>10</retrieve>
+    </limit>
+    <attribute type="1" value="1-1023"/>
+    <attribute type="1" value="*" error="114"/>
+    <syntax type="usmarc"/>
+    <syntax type="grs1"/>
+    <syntax type="xml" marcxml="1"/>
+    <syntax type="none"/>
+    <syntax type="*" error="238"/>
+    <preinit>2</preinit>
+  </target>
+  <target name="*">
+    <!-- everything else -->
+  </target>
+  <max-clients>50</max-clients>
+  <log>client-apdu server-apdu</log>
+</proxy>