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