Multiple explain records may exist for one target. Proxy checks contents of
[yazpp-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config.xml,v 1.8 2004-01-15 23:44:58 adam Exp $ -->
3 <proxy>
4   <target name="bagel">
5     <url>indexdata.dk</url>
6     <target-timeout>240</target-timeout>
7     <client-timeout>180</client-timeout>
8     <keepalive>
9       <bandwidth>1000000</bandwidth>
10       <pdu>1000</pdu>
11     </keepalive>
12     <limit><!-- per minute limits .. -->
13       <bandwidth>2000000</bandwidth>
14       <pdu>50</pdu>
15       <retrieve>100</retrieve>
16     </limit>
17     <attribute type="1" value="1-11,13-1010"/>
18     <attribute type="1" value="*" error="114"/>
19     <syntax type="opac"/>
20     <syntax type="usmarc"/>
21     <syntax type="none"/>
22     <syntax type="xml" marcxml="1"/>
23     <syntax type="*" error="238"/>
24     <preinit>0</preinit>
25     <cql2rpn>pqf.properties</cql2rpn>
26     <zeerex>zeerex.xml</zeerex>
27   </target>
28   <target default="1" name="localhost">
29     <url>localhost:9999</url>
30     <target-timeout>300</target-timeout>
31     <client-timeout>180</client-timeout>
32     <keepalive/> <!-- keepalive enabled -->
33     <limit><!-- limits .. -->
34       <bandwidth>50000</bandwidth>
35       <pdu>60</pdu>
36       <retrieve>50</retrieve>
37     </limit>
38     <attribute type="1" value="1-1023"/>
39     <attribute type="1" value="*" error="114"/>
40     <syntax type="usmarc"/>
41     <syntax type="grs1"/>
42     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2DC.xsl"
43       identifier="http://www.loc.gov/zing/srw/dcschema/v1.0/"
44         >
45       <name>dc</name>
46     </syntax>
47     <syntax type="xml" marcxml="1"
48       identifier="http://www.loc.gov/marcxml/"
49       >
50       <name>marcxml</name>
51     </syntax>
52     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
53       identifier="http://www.loc.gov/mods/v3"
54       >
55       <name>mods</name>
56     </syntax>
57     <syntax type="none"/>
58     <syntax type="*" error="238"/>
59     <preinit>2</preinit>
60     <cql2rpn>pqf.properties</cql2rpn>
61     <explain>
62       <serverInfo>
63         <host>indexdata.dk</host>
64         <port>9000</port>
65         <database>Default</database>
66       </serverInfo>
67     </explain>
68     <explain>
69       <serverInfo>
70         <host>indexdata.dk</host>
71         <port>9000</port>
72         <database>gils</database>
73       </serverInfo>
74     </explain>
75   </target>
76   <target name="*">
77     <!-- everything else -->
78   </target>
79   <max-clients>50</max-clients>
80   <log>client-requests server-requests</log>
81 </proxy>