<?xml version="1.0"?>
<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
  <!-- Offers a list of virtual databases, that may be only used
  by certain users .. See example.simple-auth -->
  <start route="start"/>
  <filters>
    <filter id="frontend" type="frontend_net">
      <threads>10</threads>
      <port>@:9000</port>
    </filter>
  </filters>
  <routes>
    <route id="start">
      <filter refid="frontend"/>
      <filter type="log">
        <message>F</message>
      </filter>
      <filter type="auth_simple">
        <userRegister>../etc/example.simple-auth</userRegister>
      </filter>
      <filter type="virt_db">
        <virtual>
          <database>loc</database>
          <target>lx2.loc.gov:210/LCDB_MARC8</target>
        </virtual>
        <virtual>
          <database>idgils</database>
          <target>z3950.indexdata.com/gils</target>
        </virtual>
        <virtual>
          <database>Default</database>
          <target>localhost:9999/Default</target>
        </virtual>
        <virtual route="test">
          <database>dummy</database>
          <target>something_for_backend_test_to_know</target>
        </virtual>
        <virtual>
          <database>all</database>
          <target>lx2.loc.gov:210/LCDB_MARC8</target>
          <target>z3950.indexdata.com/gils</target>
          <target>localhost:9999/Default</target>
        </virtual>
      </filter>
      <filter type="auth_simple">
        <targetRegister>../etc/example.target-auth</targetRegister>
        <discardUnauthorisedTargets/>
      </filter>
      <filter type="multi">
      </filter>
      <filter type="log">
        <message>B</message>
      </filter>
      <filter type="z3950_client">
        <timeout>30</timeout>
      </filter>
      <filter type="bounce"/>
    </route>
    <route id="test">
      <filter type="log">
        <message>T</message>
      </filter>
      <filter type="backend_test"/>
      <filter type="bounce"/>
    </route>
  </routes>
</metaproxy>
