Version 1.3.8
[yazproxy-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"
3  xmlns:xi="http://www.w3.org/2001/XInclude"
4  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5  xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd"
6   >
7 <!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
8   <target name="localhost" default="1">
9     <url>localhost:9999</url>
10     <target-timeout>60</target-timeout>
11     <client-timeout>20</client-timeout>
12     <max-sockets>8</max-sockets>
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="xml" marcxml="1" stylesheet="exslttest.xsl" backendelementset="F">
40       <title>EXSLT Test</title>
41       <name>exslt</name>
42     </syntax>
43     
44     <syntax type="*" error="238"/>
45     <preinit>0</preinit>
46     <xi:include href="explain.xml"/>
47     <target-charset>iso-8859-1</target-charset>
48     <cql2rpn>pqf.properties</cql2rpn>
49   </target>
50 <!--
51   <target name="*">
52     <target-timeout>60</target-timeout>
53     <client-timeout>30</client-timeout>
54   </target>
55 -->
56   <max-clients>20</max-clients>
57   <!-- <max-connect>10</max-connect> -->
58   <!-- <period-connect>10</period-connect> -->
59   <!-- <limit-connect>5</limit-connect> -->
60   <log>client-ip</log>
61   <docpath>doc</docpath>
62 </proxy>