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