File: tntnet.xml

package info (click to toggle)
tntnet 3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,488 kB
  • sloc: cpp: 16,636; javascript: 8,109; ansic: 2,189; makefile: 861; sh: 317; xml: 258; perl: 159; sql: 14
file content (76 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<!--
  This is the main configuration file for tntnet.

  You can find documentation about the parameters in the man page tntnet.xml(7)
  -->
<tntnet>
  <mappings>
    <!-- static resources from file system -->
    <!--
    <mapping>
      <target>static@tntnet</target>
      <url>^/(.*)</url>
      <pathinfo>resources/$1</pathinfo>
    </mapping>
    -->
    <!-- static compiled resources -->
    <mapping>
      <target>resources@@PROJECT@</target>
      <url>^/(.*)</url>
      <pathinfo>resources/$1</pathinfo>
    </mapping>
    <!-- map / to @PROJECT@@@PROJECT@ -->
    <mapping>
      <target>@PROJECT@@@PROJECT@</target>
      <url>^/$</url>
    </mapping>
    <!-- map /comp to comp@@PROJECT@ -->
    <mapping>
      <target>$1@@PROJECT@</target>
      <url>^/(.*)</url>
    </mapping>
  </mappings>

  <!-- listen to a port -->
  <listeners>
    <listener>
      <port>8000</port>
    </listener>
  <!-- a certificate enables ssl -->
  <!--
    <listener>
      <port>8443</port>
      <certificate>tntnet.pem</certificate>
    </listener>
    -->
  </listeners>

  <logging>
    <rootlogger>INFO</rootlogger>

    <loggers>
      <logger>
        <category>tntnet</category>
        <level>INFO</level>
      </logger>
      <logger>
        <category>component.@PROJECT@</category>
        <level>INFO</level>
      </logger>
    </loggers>

    <!--
    <file>tntnet.log</file>
    <maxfilesize>10M</maxfilesize>
    <maxbackupindex>2</maxbackupindex>
    -->

  </logging>

  <compPath>
    <entry>.libs</entry>
  </compPath>

  <server>@PROJECT@</server>
</tntnet>