Move real virt_db example to config1.xml. Imagined to config-imagine.xml
[metaproxy-moved-to-github.git] / etc / config1.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config1.xml,v 1.5 2006-01-09 15:35:18 adam Exp $ -->
3 <yp2 xmlns="http://indexdata.dk/yp2/config/1">
4   <start route="start"/>
5   <filters>
6     <filter id="frontend" type="frontend_net">
7       <port>@:9000</port>
8     </filter>
9     <filter id="backend" type="z3950_client">
10     </filter>
11   </filters>
12   <routes>  
13     <route id="start">
14       <filter refid="frontend"/>
15       <filter type="log"/>
16       <filter type="virt_db">
17         <virtual>
18           <database>loc</database>
19           <target>z3950.loc.gov:7090/voyager</target>
20         </virtual>
21         <virtual>
22           <database>idgils</database>
23           <target>indexdata.dk/gils</target>
24         </virtual>
25       </filter>
26       <filter refid="backend"/>
27     </route>
28    </routes>
29 </yp2>
30