<?xml version="1.0"?>
-<!-- $Id: config1.xml,v 1.9 2006-01-13 16:27:14 mike Exp $ -->
+<!-- $Id: config1.xml,v 1.10 2006-01-17 13:31:09 adam Exp $ -->
<yp2 xmlns="http://indexdata.dk/yp2/config/1">
<start route="start"/>
<filters>
<route id="start">
<filter refid="frontend"/>
<filter type="log">
- <message>F</message>
- </filter>
- <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>
- <virtual>
- <database>Default</database>
- <target>localhost:9999</target>
- </virtual>
- </filter>
- <filter type="log">
<message>B</message>
</filter>
<filter refid="backend"/>
<?xml version="1.0"?>
-<!-- $Id: config2.xml,v 1.4 2006-01-16 16:30:06 mike Exp $ -->
+<!-- $Id: config2.xml,v 1.5 2006-01-17 13:31:09 adam Exp $ -->
<yp2 xmlns="http://indexdata.dk/yp2/config/1">
<start route="start"/>
<filters>
<database>idgils</database>
<target>indexdata.dk/gils</target>
</virtual>
+ <virtual>
+ <database>Default</database>
+ <target>localhost:9999/Default</target>
+ </virtual>
<virtual route="test">
- <database>test</database>
- <target>localhost:9999</target>
+ <database>dummy</database>
+ <target>something_for_backend_test_to_know</target>
</virtual>
</filter>
<filter type="log">
<?xml version="1.0"?>
-<!-- $Id: config3.xml,v 1.2 2006-01-16 17:03:26 adam Exp $ -->
+<!-- $Id: config3.xml,v 1.3 2006-01-17 13:31:09 adam Exp $ -->
<yp2 xmlns="http://indexdata.dk/yp2/config/1">
<start route="start"/>
<filters>
</filter>
<filter type="virt_db">
<virtual>
- <database>Default</database>
- <target>localhost:9900/Default</target>
+ <database>db1</database>
+ <target>localhost:9999/Default</target>
</virtual>
<virtual>
<database>db2</database>
- <target>localhost:9901/Default</target>
+ <target>localhost:9998/Slow</target>
</virtual>
<virtual>
<database>all</database>
- <target>localhost:9900/Default</target>
- <target>localhost:9901/Default</target>
+ <target>localhost:9999/Default</target>
+ <target>localhost:9998/Slow</target>
<target>z3950.loc.gov:7090/voyager</target>
</virtual>
</filter>