<?xml version="1.0"?>
-<!-- $Id: config.xml,v 1.2 2004-04-19 13:42:52 adam Exp $ -->
-<proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/">
- <target name="bagel">
- <url>indexdata.dk</url>
- <target-timeout>240</target-timeout>
- <client-timeout>180</client-timeout>
+<proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd"
+ >
+<!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
+ <target name="localhost" default="1">
+ <url>localhost:9999</url>
+ <target-timeout>60</target-timeout>
+ <client-timeout>20</client-timeout>
+ <max-sockets>8</max-sockets>
+ <!-- <target-authentication type="open">a/b</target-authentication> -->
<keepalive>
- <bandwidth>1000000</bandwidth>
- <pdu>1000</pdu>
+ <bandwidth>100000</bandwidth>
+ <pdu>100</pdu>
</keepalive>
<limit><!-- per minute limits .. -->
<bandwidth>2000000</bandwidth>
- <pdu>50</pdu>
+ <pdu>10</pdu>
<retrieve>100</retrieve>
+ <search>3</search>
</limit>
- <attribute type="1" value="1-11,13-1010"/>
+ <attribute type="1" value="1-11,13-1016"/>
<attribute type="1" value="*" error="114"/>
<syntax type="opac"/>
- <syntax type="usmarc"/>
+ <syntax type="usmarc" backendcharset="iso-8859-1"/>
<syntax type="none"/>
- <syntax type="xml" marcxml="1"/>
- <syntax type="*" error="238"/>
- <preinit>0</preinit>
- <explain xmlns="http://explain.z3950.org/dtd/2.0/">
- <serverInfo>
- <host>indexdata.dk</host>
- <port>9000</port>
- <database>Default</database>
- </serverInfo>
- </explain>
- <cql2rpn>pqf.properties</cql2rpn>
- </target>
- <target default="1" name="localhost">
- <url>localhost:9999</url>
- <target-timeout>300</target-timeout>
- <client-timeout>180</client-timeout>
- <keepalive/> <!-- keepalive enabled -->
- <limit><!-- limits .. -->
- <bandwidth>50000</bandwidth>
- <pdu>60</pdu>
- <retrieve>50</retrieve>
- </limit>
- <attribute type="1" value="1-1023"/>
- <attribute type="1" value="*" error="114"/>
- <syntax type="usmarc"/>
- <syntax type="grs1"/>
+ <syntax type="sutrs" backendcharset="iso-8859-1"/>
+ <syntax type="xml">
+ <name>b</name>
+ </syntax>
<syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
identifier="info:srw/schema/1/dc-v1.1"
- >
- <name>dc</name>
- </syntax>
- <syntax type="xml" marcxml="1"
- identifier="info:srw/schema/1/marcxml-v1.1"
- >
- <name>marcxml</name>
- </syntax>
- <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
- identifier="http://www.loc.gov/mods"
>
- <name>mods2</name>
+ <title>Dublin Core</title>
+ <name>dc</name>
</syntax>
- <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS3.xsl"
- identifier="info:srw/schema/1/mods-v3.0"
- >
- <name>mods3</name>
+ <syntax type="xml" marcxml="1" stylesheet="exslttest.xsl">
+ <title>EXSLT Test</title>
+ <name>exslt</name>
</syntax>
- <syntax type="none"/>
+
<syntax type="*" error="238"/>
- <preinit>2</preinit>
+ <preinit>0</preinit>
+ <xi:include href="explain.xml"/>
+ <target-charset>iso-8859-1</target-charset>
<cql2rpn>pqf.properties</cql2rpn>
</target>
+<!--
<target name="*">
- <!-- everything else -->
+ <target-timeout>60</target-timeout>
+ <client-timeout>30</client-timeout>
</target>
- <max-clients>50</max-clients>
- <log>client-requests server-requests</log>
+-->
+ <max-clients>20</max-clients>
+ <!-- <max-connect>10</max-connect> -->
+ <!-- <period-connect>10</period-connect> -->
+ <!-- <limit-connect>5</limit-connect> -->
+ <log>client-ip</log>
+ <docpath>doc</docpath>
</proxy>