File: urlmatch.xml

package info (click to toggle)
crossroads 2.65-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,664 kB
  • ctags: 355
  • sloc: cpp: 4,212; perl: 1,658; xml: 269; makefile: 186; sh: 46
file content (32 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  
  <system>
    <uselogger>false</uselogger>
    <logdir>/tmp</logdir>
    <path>/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin</path>
  </system>

  <service>
    <name>urlmatch</name>    
    <server>
      <type>http</type>
      <address>0:20000</address>
      <webinterface>0:20001</webinterface>
      <verbose>yes</verbose>
      <debug>yes</debug>
    </server>
    <backend>
      <address>server1:10000</address>
      <urlmatch>/$</urlmatch>
    </backend>
    <backend>
      <address>server2:10000</address>
      <urlmatch>/pages/fch</urlmatch>
    </backend>
    <backend>
      <address>server3:10000</address>
      <urlmatch>/pages/[^f][^c][^h]</urlmatch>
    </backend>
  </service>
</configuration>