Implemented plugin facility. First use is authentication from
[yazproxy-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config.xml,v 1.8 2005-02-11 15:19:07 adam Exp $ -->
3 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"
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.8/ yazproxy.xsd"
7 >
8 <!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
9   <target name="localhost" default="1">
10     <negotiation-charset>iso-8859-1</negotiation-charset>
11     <url>localhost:9999</url>
12     <target-timeout>30</target-timeout>
13     <client-timeout>60</client-timeout>
14     <authentication handler="pipe" args="authenticate.pl"/>
15     <keepalive>
16       <bandwidth>1000000</bandwidth>
17       <pdu>1000</pdu>
18     </keepalive>
19     <limit><!-- per minute limits .. -->
20       <bandwidth>2000000</bandwidth>
21       <pdu>50</pdu>
22       <retrieve>100</retrieve>
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"/>
28     <syntax type="none"/>
29     <syntax type="xml" marcxml="1"/>
30     <syntax type="*" error="238"/>
31     <preinit>0</preinit>
32     <xi:include href="explain.xml"/>
33     <cql2rpn>pqf.properties</cql2rpn>
34   </target>
35   <target name="*">
36     <target-timeout>60</target-timeout>
37     <client-timeout>30</client-timeout>
38     <!-- everything else -->
39   </target>
40   <max-clients>50</max-clients>
41   <log>client-requests server-requests</log>
42   <module>../src/.libs/mod_proxy_sample.so</module>
43 </proxy>