/[H9]/trunk/tntnet/config/tntnet.conf
ViewVC logotype

Annotation of /trunk/tntnet/config/tntnet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65 - (hide annotations) (download)
Tue Nov 27 09:17:14 2007 UTC (16 years, 6 months ago) by torben
File size: 2014 byte(s)
Added tntnet server config

1 torben 65 # tntnet.conf
2     #
3    
4     PropertyFile /etc/tntnet/tntnet.properties
5     Listen 0.0.0.0 80
6     #SslListen 0.0.0.0 443 /etc/tntnet/tntnet.pem
7    
8     Daemon 1
9     User www-data
10     Group www-data
11     CompPath /usr/lib/tntnet
12     CompPath /home/torben/tntnet/dynamic
13    
14     # set some limit to prevent DoS-attacks
15     MaxRequestSize 1048576 # 1 MB
16    
17     #Dir /
18     #Chroot /var/safedir
19     PidFile /var/run/tntnet.pid
20     #Daemon 0
21     #MinThreads 5
22     #MaxThreads 10
23     #ThreadStartDelay 0 # in ms
24     #QueueSize 100
25     #CompPath path
26     #Load webapp # preload webapplication
27     #BufferSize 16384
28     #SocketReadTimeout 200
29     #SocketWriteTimeout 10000
30     #KeepAliveTimeout 15000
31     #KeepAliveMax 100
32     #SessionTimeout 300
33     #CompLifetime 10
34     #MaxRequestTime 600
35     #ReportStateTime 1200
36    
37     include /etc/tntnet.d/*.conf
38     include /etc/tntnet/mime.conf
39    
40     # make demos callable
41     MapUrl ^/dynamic/(.*)\..* $1@flisfyr
42     MapUrl ^/dynamic/(.*) $1@flisfyr
43     MapUrl ^/dynamic$ redirect@tntnet /dynamic/
44     MapUrl ^/dynamic/$ index@flisfyr
45    
46     MapUrl ^/$ redirect@tntnet /dynamic/
47    
48     MapUrl ^/demos/controls$ redirect@tntnet /demos/controls/
49     MapUrl ^/demos/controls/(.*)\..* $1@controls
50     MapUrl ^/demos/controls/$ index@controls index
51     MapUrl ^/demos/controls/(.*) index@controls $1
52     MapUrl ^/demos/(.*)\..* $1@$1 $1
53     MapUrl ^/demos/(.*) $1@$1
54     MapUrl ^/demos/tntnet.jpg tntnet@hello
55     MapUrl ^/demos/$ static@tntnet /usr/share/tntnet/demos.html
56     MapUrl ^/demos/(.*)\.png$ static@tntnet /usr/share/tntnet/$1.png
57     MapUrl ^/demos/(.*)\.js$ static@tntnet /usr/share/tntnet/$1.js
58    
59     # configure tntnet as a simple webserver
60     MapUrl .* mime@tntnet
61     MapUrl ^/(.*/)?$ static@tntnet /home/torben/tntnet/static/$1index.html
62     MapUrl ^/(.*)$ static@tntnet /home/torben/tntnet/static/$1

  ViewVC Help
Powered by ViewVC 1.1.20