6228571fa5a33e38165d94cab944726c31fd9b98
[yazproxy-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config.xml,v 1.20 2006-04-12 11:55:38 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>60</target-timeout>
12     <client-timeout>20</client-timeout>
13     <!-- <target-authentication type="open">a/b</target-authentication> -->
14     <keepalive>
15       <bandwidth>100000</bandwidth>
16       <pdu>100</pdu>
17     </keepalive>
18     <limit><!-- per minute limits .. -->
19       <bandwidth>2000000</bandwidth>
20       <pdu>10</pdu>
21       <retrieve>100</retrieve>
22       <search>3</search>
23     </limit>
24     <attribute type="1" value="1-11,13-1016"/>
25     <attribute type="1" value="*" error="114"/>
26     <syntax type="opac"/>
27     <syntax type="usmarc" backendcharset="iso-8859-1"/>
28     <syntax type="none"/>
29     <syntax type="sutrs" backendcharset="iso-8859-1"/>
30     <syntax type="xml">
31       <name>b</name>
32     </syntax>
33     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
34       identifier="info:srw/schema/1/dc-v1.1"
35       >
36       <title>Dublin Core</title>
37       <name>dc</name>
38     </syntax>
39     <syntax type="*" error="238"/>
40     <preinit>2</preinit>
41     <xi:include href="explain.xml"/>
42     <target-charset>iso-8859-1</target-charset>
43     <cql2rpn>pqf.properties</cql2rpn>
44   </target>
45 <!--
46   <target name="*">
47     <target-timeout>60</target-timeout>
48     <client-timeout>30</client-timeout>
49   </target>
50 -->
51   <max-clients>20</max-clients>
52   <!-- <max-connect>10</max-connect> -->
53   <!-- <period-connect>10</period-connect> -->
54   <!-- <limit-connect>5</limit-connect> -->
55   <log>client-ip</log>
56   <docpath>doc</docpath>
57 </proxy>