Use yazpp rather than yaz++.
[yazproxy-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config.xml,v 1.14 2006-03-29 13:33:46 adam Exp $ -->
3 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"
4  xmlns:xi="http://www.w3.org/2001/XInclude"
5  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6  xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd"
7   >
8 <!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
9   <target name="localhost" default="1">
10     <url>localhost:9999</url>
11     <target-timeout>30</target-timeout>
12     <client-timeout>60</client-timeout>
13     <keepalive>
14       <bandwidth>1000000</bandwidth>
15       <pdu>1000</pdu>
16     </keepalive>
17     <limit><!-- per minute limits .. -->
18       <bandwidth>2000000</bandwidth>
19       <pdu>60</pdu>
20       <retrieve>100</retrieve>
21     </limit>
22     <attribute type="1" value="1-11,13-1016"/>
23     <attribute type="1" value="*" error="114"/>
24     <syntax type="opac"/>
25     <syntax type="usmarc" backendcharset="iso-8859-1"/>
26     <syntax type="none"/>
27     <syntax type="sutrs" backendcharset="iso-8859-1"/>
28     <syntax type="xml">
29       <name>b</name>
30     </syntax>
31     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
32       identifier="info:srw/schema/1/dc-v1.1"
33       >
34       <title>Dublin Core</title>
35       <name>dc</name>
36     </syntax>
37     <syntax type="*" error="238"/>
38     <preinit>0</preinit>
39     <xi:include href="explain.xml"/>
40     <target-charset>iso-8859-1</target-charset>
41     <cql2rpn>pqf.properties</cql2rpn>
42   </target>
43   <target name="*">
44     <target-timeout>60</target-timeout>
45     <client-timeout>30</client-timeout>
46     <!-- everything else -->
47   </target>
48   <max-clients>2</max-clients>
49   <log>client-requests server-requests</log>
50 </proxy>