mongrel2: update to 1.13.0
[openadk.git] / package / tntnet / files / tntnet.xml
blob2d4f160d1f3c14dc5560a11edb1884417a2cc597
1 <?xml version="1.0" encoding="UTF-8"?>
2 <tntnet>
3   <mappings>
4     <mapping>
5       <target>static@tntnet</target>
6       <url>(.*)/$</url>
7       <pathinfo>/$1/index.html</pathinfo>
8     </mapping>
9     <mapping>
10       <target>static@tntnet</target>
11       <url>^/(.*)$</url>
12       <pathinfo>/$1</pathinfo>
13     </mapping>
14   </mappings>
16   <listeners>
17     <listener>
18       <ip>0.0.0.0</ip>
19       <port>80</port>
20     </listener>
21   </listeners>
23   <daemon>1</daemon>
24   <user>tntnet</user>
25   <group>tntnet</group>
26   <maxRequestSize>1048576</maxRequestSize>
27   <pidFile>/var/run/tntnet.pid</pidFile>
28   <minThreads>2</minThreads>
29   <maxThreads>4</maxThreads>
30   <documentRoot>/www</documentRoot>
31   <compPath>
32     <entry>/usr/lib/tntnet</entry>
33   </compPath>
34   <logging>
35     <rootlogger>INFO</rootlogger>
36     <loggers>
37       <logger>
38         <category>tntnet</category>
39         <level>INFO</level>
40       </logger>
41     </loggers>
42     <!-- <file>tntnet.log</file> -->      <!--uncomment if you want to log to a file -->
43     <!-- <maxfilesize>1MB</maxfilesize> -->
44     <!-- <maxbackupindex>2</maxbackupindex> -->
45     <!-- <host>localhost:1234</host> --> <!--  # send log-messages with udp -->
46   </logging>
48   <include>/etc/tntnet/mime.conf</include>
49 </tntnet>