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

Diff of /trunk/tntnet/config/tntnet.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 66 by torben, Tue Nov 27 09:17:14 2007 UTC revision 67 by torben, Tue Nov 27 14:23:18 2007 UTC
# Line 1  Line 1 
1  # tntnet.conf  # tntnet.conf
2  #  #
3    
4    
5    #Settings for "FlisFyr" project
6    dburl "postgresql:host=localhost:db=flisfyr:user=torben:passwd=nielsen"
7    #end of flisfyr settings
8    
9  PropertyFile    /etc/tntnet/tntnet.properties  PropertyFile    /etc/tntnet/tntnet.properties
10  Listen      0.0.0.0 80  Listen      0.0.0.0 80
11  #SslListen  0.0.0.0 443 /etc/tntnet/tntnet.pem  #SslListen  0.0.0.0 443 /etc/tntnet/tntnet.pem
# Line 14  CompPath    /home/torben/tntnet/dynamic Line 19  CompPath    /home/torben/tntnet/dynamic
19  # set some limit to prevent DoS-attacks  # set some limit to prevent DoS-attacks
20  MaxRequestSize     1048576  # 1 MB  MaxRequestSize     1048576  # 1 MB
21    
22    
23  #Dir                /  #Dir                /
24  #Chroot             /var/safedir  #Chroot             /var/safedir
25  PidFile            /var/run/tntnet.pid  PidFile            /var/run/tntnet.pid
# Line 45  MapUrl  ^/dynamic/$                  ind Line 51  MapUrl  ^/dynamic/$                  ind
51    
52  MapUrl  ^/$                          redirect@tntnet /dynamic/  MapUrl  ^/$                          redirect@tntnet /dynamic/
53    
 MapUrl  ^/demos/controls$            redirect@tntnet /demos/controls/  
 MapUrl  ^/demos/controls/(.*)\..*    $1@controls  
 MapUrl  ^/demos/controls/$           index@controls  index  
 MapUrl  ^/demos/controls/(.*)        index@controls  $1  
 MapUrl  ^/demos/(.*)\..*             $1@$1    $1  
 MapUrl  ^/demos/(.*)                 $1@$1  
 MapUrl  ^/demos/tntnet.jpg           tntnet@hello  
 MapUrl  ^/demos/$                    static@tntnet /usr/share/tntnet/demos.html  
 MapUrl  ^/demos/(.*)\.png$           static@tntnet /usr/share/tntnet/$1.png  
 MapUrl  ^/demos/(.*)\.js$            static@tntnet /usr/share/tntnet/$1.js  
   
54  # configure tntnet as a simple webserver  # configure tntnet as a simple webserver
55  MapUrl  .*      mime@tntnet  MapUrl  .*      mime@tntnet
56  MapUrl  ^/(.*/)?$ static@tntnet /home/torben/tntnet/static/$1index.html  MapUrl  ^/(.*/)?$ static@tntnet /home/torben/tntnet/static/$1index.html

Legend:
Removed from v.66  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.20