Fixed bug #189: Bad authenticated session transfer.
[yazproxy-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config.xml,v 1.6 2004-10-23 23:12:23 adam Exp $ -->
3 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"
4  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5  xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.8/ 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>30</target-timeout>
11     <client-timeout>60</client-timeout>
12     <keepalive>
13       <bandwidth>1000000</bandwidth>
14       <pdu>1000</pdu>
15     </keepalive>
16     <limit><!-- per minute limits .. -->
17       <bandwidth>2000000</bandwidth>
18       <pdu>50</pdu>
19       <retrieve>100</retrieve>
20     </limit>
21     <attribute type="1" value="1-11,13-1016"/>
22     <attribute type="1" value="*" error="114"/>
23     <syntax type="opac"/>
24     <syntax type="usmarc"/>
25     <syntax type="none"/>
26     <syntax type="xml" marcxml="1"/>
27     <syntax type="*" error="238"/>
28     <preinit>0</preinit>
29     <explain xmlns="http://explain.z3950.org/dtd/2.0/">
30        <serverInfo>
31        <host>localhost</host>
32        <port>9000</port>
33        <database>gils</database>
34        </serverInfo>
35     </explain>
36     <cql2rpn>pqf.properties</cql2rpn>
37     <authentication>adam/x</authentication>
38   </target>
39   <target name="*">
40     <target-timeout>60</target-timeout>
41     <client-timeout>30</client-timeout>
42     <!-- everything else -->
43   </target>
44   <max-clients>50</max-clients>
45   <log>client-requests server-requests</log>
46 </proxy>