Index: tntnet-2.0/etc/tntnet/tntnet.conf.in
===================================================================
--- tntnet-2.0.orig/etc/tntnet/tntnet.conf.in	2010-03-14 13:26:49.000000000 +0200
+++ tntnet-2.0/etc/tntnet/tntnet.conf.in	2011-08-08 15:09:01.699254552 +0300
@@ -43,8 +43,10 @@
 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
 
 # configure tntnet as a simple webserver
-DocumentRoot /var/www
-MapUrl  (.*)/$  static@tntnet /$1/index.html
+MapUrl  ^/(.*/)?$ static@tntnet /var/www/$1index.html
 MapUrl  ^/(.*)$ static@tntnet /$1
