fixing bug #822 SRU diagnostic missing when making CQL-to-PQF errors
[metaproxy-moved-to-github.git] / etc / config2.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config2.xml,v 1.9 2006-11-29 13:00:54 marc Exp $ -->
3 <metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
4   <start route="start"/>
5   <filters>
6     <filter id="frontend" type="frontend_net">
7       <threads>10</threads>
8       <port>@:9000</port>
9     </filter>
10   </filters>
11   <routes>
12     <route id="start">
13       <filter refid="frontend"/>
14       <filter type="log">
15         <message>F</message>
16       </filter>
17       <filter type="auth_simple">
18         <userRegister>../etc/example.simple-auth</userRegister>
19       </filter>
20       <filter type="virt_db">
21         <virtual>
22           <database>loc</database>
23           <target>z3950.loc.gov:7090/voyager</target>
24         </virtual>
25         <virtual>
26           <database>idgils</database>
27           <target>indexdata.dk/gils</target>
28         </virtual>
29         <virtual>
30           <database>Default</database>
31           <target>localhost:9999/Default</target>
32         </virtual>
33         <virtual route="test">
34           <database>dummy</database>
35           <target>something_for_backend_test_to_know</target>
36         </virtual>
37         <virtual>
38           <database>all</database>
39           <target>z3950.loc.gov:7090/voyager</target>
40           <target>indexdata.dk/gils</target>
41           <target>localhost:9999/Default</target>
42         </virtual>
43       </filter>
44       <filter type="auth_simple">
45         <targetRegister>../etc/example.target-auth</targetRegister>
46         <discardUnauthorisedTargets/>
47       </filter>
48       <filter type="multi">
49       </filter>
50       <filter type="log">
51         <message>B</message>
52       </filter>
53       <filter type="z3950_client">
54         <timeout>30</timeout>
55       </filter>
56       <filter type="bounce"/>
57     </route>
58     <route id="test">
59       <filter type="log">
60        <message>T</message>
61       </filter>
62       <filter type="backend_test"/>
63       <filter type="bounce"/>
64     </route>
65   </routes>
66 </metaproxy>
67