projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
[metaproxy-moved-to-github.git]
/
etc
/
config1.xml
diff --git
a/etc/config1.xml
b/etc/config1.xml
index
b13674c
..
583a508
100644
(file)
--- a/
etc/config1.xml
+++ b/
etc/config1.xml
@@
-1,31
+1,34
@@
<?xml version="1.0"?>
<?xml version="1.0"?>
-<!-- $Id: config1.xml,v 1.6 2006-01-09 18:19:09 adam Exp $ -->
-<yp2 xmlns="http://indexdata.dk/yp2/config/1">
+<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
+ <!-- Z39.50 proxy which relays to target specified in Init otherinfo
+ (VAL_RPOXY). If no target is given, it relays to target
+ z3950.indexdata.dk -->
<start route="start"/>
<filters>
<filter id="frontend" type="frontend_net">
<start route="start"/>
<filters>
<filter id="frontend" type="frontend_net">
+ <threads>10</threads>
<port>@:9000</port>
<port>@:9000</port>
+ <message>FN</message>
</filter>
<filter id="backend" type="z3950_client">
<timeout>30</timeout>
</filter>
<filter id="backend" type="z3950_client">
<timeout>30</timeout>
+ <default_target>localhost:9999</default_target>
+ <force_close>true</force_close>
</filter>
</filters>
</filter>
</filters>
- <routes>
+ <routes>
<route id="start">
<filter refid="frontend"/>
<route id="start">
<filter refid="frontend"/>
- <filter type="virt_db">
- <virtual>
- <database>loc</database>
- <target>z3950.loc.gov:7090/voyager</target>
- </virtual>
- <virtual>
- <database>idgils</database>
- <target>indexdata.dk/gils</target>
- </virtual>
+ <filter type="log">
+ <message>log</message>
+ </filter>
+ <filter type="sd_remove"/>
+ <filter type="present_chunk">
+ <chunk>2</chunk>
</filter>
</filter>
- <filter type="log"/>
<filter refid="backend"/>
<filter refid="backend"/>
+ <filter type="bounce"/>
</route>
</route>
- </routes>
-</yp2>
+ </routes>
+</metaproxy>