All pastes #491708 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-16 20:11 UTC
rendered paste body
dburl "postgresql:dbname=ontop_development"
#dburl "sqlite:ontop.db"

# listen to a port
Listen              0.0.0.0 8000

# to enable ssl, we need a Certificate and another listen-command
#SslListen          0.0.0.0 8443    tntnet.pem

# this propertyfile defines, what and where to log
PropertyFile        tntnet.properties

# set limit to prevent DoS-attacks (default 0=no limit)
#MaxRequestSize     65536
#User               tntnet
#Group              tntnet
#Dir                /
#Chroot             /var/safedir
#PidFile            /var/run/tntnet.pid
#Daemon             0
#MinThreads         5
#MaxThreads         100
#ThreadStartDelay   10  # in ms
#QueueSize          1000
#CompPath           path
#Load               webapp  # preload webapplication
#BufferSize         16384
#SocketReadTimeout  10
#SocketWriteTimeout 10000
#KeepAliveTimeout   15000
#KeepAliveMax       1000
#SessionTimeout     300
#ListenBacklog      16
#ListenRetry        5
#EnableCompression  no
#MinCompressSize    1024  # in bytes
#DefaultContentType "text/html; charset=iso-8859-1"
CompPath /usr/local/lib/tntnet

include /usr/local/etc/tntnet/mime.conf

MapUrl      /$                OnTOP@OnTOP
MapUrl      /index.html$      OnTOP@OnTOP
MapUrl      /tasks.json       web_tasks@OnTOP
MapUrl      /overview.pdf     web_overview@OnTOP
MapUrl      /task_save.html   web_save_task@OnTOP

DocumentRoot web
MapUrl  (.*)/$  static@tntnet $1/index.html
MapUrl  ^/(.*)$ static@tntnet $1




// Log:

2007-05-16 16:00:08.86621 [21588.0x200b000] INFO tntnet.worker - process request: GET /common.css from client 127.0.0.1 user-Agent ""
2007-05-16 16:00:08.86632 [21588.0x200b000] DEBUG tntnet.httprequest - HttpRequest::getLocale() 
2007-05-16 16:00:08.86643 [21588.0x200b000] DEBUG tntnet.httprequest - LANG=C
2007-05-16 16:00:08.86651 [21588.0x200b000] DEBUG tntnet.encoding - encode header ""
2007-05-16 16:00:08.86657 [21588.0x200b000] DEBUG tntnet.worker - dispatch /common.css
2007-05-16 16:00:08.86697 [21588.0x200b000] DEBUG tntnet.worker - load component static@tntnet
2007-05-16 16:00:08.86706 [21588.0x200b000] DEBUG tntnet.comploader - fetchComp "static@tntnet"
2007-05-16 16:00:08.86711 [21588.0x200b000] DEBUG tntnet.comploader - fetchLib "tntnet"
2007-05-16 16:00:08.86716 [21588.0x200b000] DEBUG tntnet.comploader - 0 loaded libraries
2007-05-16 16:00:08.86720 [21588.0x200b000] DEBUG tntnet.comploader - end loaded libraries
2007-05-16 16:00:08.86725 [21588.0x200b000] INFO tntnet.comploader - load library "tntnet"
2007-05-16 16:00:08.86731 [21588.0x200b000] DEBUG tntnet.comploader - load library "tntnet" from /usr/local/lib/tntnet dir
2007-05-16 16:00:08.86741 [21588.0x200b000] DEBUG cxxtools.dlloader - dlinit
2007-05-16 16:00:08.86748 [21588.0x200b000] DEBUG cxxtools.dlloader - dlopen("/usr/local/lib/tntnet/tntnet")
2007-05-16 16:00:08.97526 [21588.0x200b000] DEBUG tntnet.componentfactory - create componentfactory for error
2007-05-16 16:00:08.97531 [21588.0x200b000] DEBUG tntnet.comploader - Comploader::registerFactory(error, 0x1a0d3f8)
2007-05-16 16:00:08.97544 [21588.0x200b000] DEBUG tntnet.componentfactory - create componentfactory for mime
2007-05-16 16:00:08.97551 [21588.0x200b000] DEBUG tntnet.comploader - Comploader::registerFactory(mime, 0x1a0d404)
2007-05-16 16:00:08.97556 [21588.0x200b000] DEBUG tntnet.componentfactory - create componentfactory for redired
2007-05-16 16:00:08.97560 [21588.0x200b000] DEBUG tntnet.comploader - Comploader::registerFactory(redired, 0x1a0d418)
2007-05-16 16:00:08.97564 [21588.0x200b000] DEBUG tntnet.componentfactory - create componentfactory for static
2007-05-16 16:00:08.97568 [21588.0x200b000] DEBUG tntnet.comploader - Comploader::registerFactory(static, 0x1a0d424)
2007-05-16 16:00:08.97575 [21588.0x200b000] DEBUG tntnet.componentfactory - create componentfactory for unzip
2007-05-16 16:00:08.97579 [21588.0x200b000] DEBUG tntnet.comploader - Comploader::registerFactory(unzip, 0x1a0d434)
2007-05-16 16:00:08.97589 [21588.0x200b000] DEBUG cxxtools.dlloader - dlopen => 0x1903a70
2007-05-16 16:00:08.97599 [21588.0x200b000] DEBUG tntnet.comploader - insert new library tntnet
2007-05-16 16:00:08.97605 [21588.0x200b000] DEBUG tntnet.comploader - create "static"
2007-05-16 16:00:08.97608 [21588.0x200b000] DEBUG tntnet.comploader - call creator for "static@tntnet"
2007-05-16 16:00:08.97614 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue("DefaultContentType", "text/html")
2007-05-16 16:00:08.97616 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue returns "text/html"
2007-05-16 16:00:08.97619 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue("MimeDb", "/etc/mime.types")
2007-05-16 16:00:08.97623 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue returns default "/etc/mime.types"
2007-05-16 16:00:08.97645 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/plain" ".txt"
2007-05-16 16:00:08.97656 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/html" ".html"
2007-05-16 16:00:08.97665 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/html" ".htm"
2007-05-16 16:00:08.97670 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/html" ".xhtml"
2007-05-16 16:00:08.97674 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/png" ".png"
2007-05-16 16:00:08.97681 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/gif" ".gif"
2007-05-16 16:00:08.97686 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/bmp" ".bmp"
2007-05-16 16:00:08.97691 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/x-tar" ".tgz"
2007-05-16 16:00:08.97696 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/jpeg" ".jpeg"
2007-05-16 16:00:08.97703 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/jpeg" ".jpg"
2007-05-16 16:00:08.97708 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/tif" ".tif"
2007-05-16 16:00:08.97713 [21588.0x200b000] DEBUG tntnet.mime - AddType "image/tif" ".tiff"
2007-05-16 16:00:08.97719 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/css" "css"
2007-05-16 16:00:08.97726 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/plain" ".asc"
2007-05-16 16:00:08.97732 [21588.0x200b000] DEBUG tntnet.mime - AddType "text/rtf" ".rtf"
2007-05-16 16:00:08.97737 [21588.0x200b000] DEBUG tntnet.mime - AddType "video/mpeg" ".mpeg"
2007-05-16 16:00:08.97742 [21588.0x200b000] DEBUG tntnet.mime - AddType "video/mpeg" ".mpg"
2007-05-16 16:00:08.97748 [21588.0x200b000] DEBUG tntnet.mime - AddType "video/mpeg" ".mpe"
2007-05-16 16:00:08.97755 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/x-javascript" ".js"
2007-05-16 16:00:08.97760 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/msword" ".doc"
2007-05-16 16:00:08.97765 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/msword" ".dot"
2007-05-16 16:00:08.97770 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/pdf" ".pdf"
2007-05-16 16:00:08.97776 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/postscript" ".ps"
2007-05-16 16:00:08.97781 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/postscript" ".ai"
2007-05-16 16:00:08.97786 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/postscript" ".eps"
2007-05-16 16:00:08.97791 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/vnd.ms-excel" ".xls"
2007-05-16 16:00:08.97796 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/vnd.ms-excel" ".xlb"
2007-05-16 16:00:08.97802 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/vnd.ms-powerpoint" ".ppt"
2007-05-16 16:00:08.97807 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/vnd.ms-powerpoint" ".pps"
2007-05-16 16:00:08.97812 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/vnd.ms-powerpoint" ".pot"
2007-05-16 16:00:08.97816 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/zip" ".zip"
2007-05-16 16:00:08.97820 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/x-gtar" ".gtar"
2007-05-16 16:00:08.97824 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/x-gtar" ".tgz"
2007-05-16 16:00:08.97829 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/x-gtar" ".taz"
2007-05-16 16:00:08.97833 [21588.0x200b000] DEBUG tntnet.mime - AddType "application/x-java-archive" ".jar"
2007-05-16 16:00:08.97838 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue("DocumentRoot", "")
2007-05-16 16:00:08.97843 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue returns "web"
2007-05-16 16:00:08.97848 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue("StaticEnableGzip", "")
2007-05-16 16:00:08.97856 [21588.0x200b000] DEBUG tntnet.tntconfig - getValue returns default ""
2007-05-16 16:00:08.97868 [21588.0x200b000] DEBUG tntnet.httprequest - HttpRequest::getCookies()
2007-05-16 16:00:08.97872 [21588.0x200b000] DEBUG tntnet.scopemanager - session-cookie tntnet.tntnet not found
2007-05-16 16:00:08.97878 [21588.0x200b000] DEBUG tntnet.scopemanager - getApplicationScope("tntnet")
2007-05-16 16:00:08.97920 [21588.0x200b000] DEBUG tntnet.scopemanager - applicationscope not found - create new
2007-05-16 16:00:08.97924 [21588.0x200b000] DEBUG tntnet.scope - new Scope 0x19041c0
2007-05-16 16:00:08.97939 [21588.0x200b000] DEBUG tntnet.scope - Scope::addRef(); this=0x19041c0 refs=1
2007-05-16 16:00:08.97949 [21588.0x200b000] DEBUG tntnet.worker - call component static@tntnet path common.css
2007-05-16 16:00:08.97960 [21588.0x200b000] DEBUG tntnet.static - file: web/common.css
2007-05-16 16:00:08.97967 [21588.0x200b000] DEBUG tntnet.encoding - accept("gzip")
2007-05-16 16:00:08.97975 [21588.0x200b000] DEBUG tntnet.encoding - accept("gzip") => 0
2007-05-16 16:00:08.98018 [21588.0x200b000] DEBUG tntnet.mime - unknown type in url-path "common.css" set DefaultContentType text/html
2007-05-16 16:00:08.98022 [21588.0x200b000] DEBUG tntnet.httpmessage - HttpMessage::setHeader("Last-Modified:", "Sun, 13 May 2007 01:20:01 GMT")
2007-05-16 16:00:08.98030 [21588.0x200b000] DEBUG tntnet.httpmessage - HttpMessage::setHeader("Content-Length:", "2558")
2007-05-16 16:00:08.98038 [21588.0x200b000] INFO tntnet.static - send static file "web/common.css" size 2558 bytes
2007-05-16 16:00:08.98082 [21588.0x200b000] DEBUG tntnet.httpmessage - HttpMessage::setHeader("Date:", "Wed, 16 May 2007 14:00:08 GMT")
2007-05-16 16:00:08.98086 [21588.0x200b000] DEBUG tntnet.httpmessage - HttpMessage::setHeader("Server:", "Tntnet/1.5.3.6")
2007-05-16 16:00:08.98095 [21588.0x200b000] DEBUG tntnet.httpreply - setKeepAliveHeader(0)
2007-05-16 16:00:08.98109 [21588.0x200b000] DEBUG tntnet.httpmessage - HttpMessage::setHeader("Connection:", "close")
2007-05-16 16:00:08.98116 [21588.0x200b000] DEBUG tntnet.httpmessage - HttpMessage::setHeader("Content-Type:", "text/html")
2007-05-16 16:00:08.98121 [21588.0x200b000] DEBUG tntnet.httpreply - HTTP/1.0 200 OK
2007-05-16 16:00:08.98126 [21588.0x200b000] DEBUG cxxtools.net.tcp - streambuf::overflow
2007-05-16 16:00:08.98131 [21588.0x200b000] DEBUG tntnet.httpreply - Connection: close
2007-05-16 16:00:08.98138 [21588.0x200b000] DEBUG tntnet.httpreply - Content-Length: 2558
2007-05-16 16:00:08.98143 [21588.0x200b000] DEBUG tntnet.httpreply - Content-Type: text/html
2007-05-16 16:00:08.98148 [21588.0x200b000] DEBUG tntnet.httpreply - Date: Wed, 16 May 2007 14:00:08 GMT
2007-05-16 16:00:08.98152 [21588.0x200b000] DEBUG tntnet.httpreply - Last-Modified: Sun, 13 May 2007 01:20:01 GMT
2007-05-16 16:00:08.98160 [21588.0x200b000] DEBUG tntnet.httpreply - Server: Tntnet/1.5.3.6
2007-05-16 16:00:08.98166 [21588.0x200b000] DEBUG tntnet.httpreply - send 0 bytes body, method=GET
2007-05-16 16:00:08.99230 [21588.0x200b000] DEBUG cxxtools.net.tcp - streambuf::sync
2007-05-16 16:00:08.99238 [21588.0x200b000] DEBUG cxxtools.net.tcp - Stream::write 2750 bytes
2007-05-16 16:00:08.99250 [21588.0x200b000] DEBUG cxxtools.net.tcp - ::write returns 2750 errno=2
2007-05-16 16:00:08.99267 [21588.0x200b000] INFO tntnet.worker - request ready, returncode 200
2007-05-16 16:00:08.99271 [21588.0x200b000] DEBUG cxxtools.net.tcp - streambuf::sync
2007-05-16 16:00:08.99276 [21588.0x200b000] DEBUG tntnet.worker - reply sent
2007-05-16 16:00:08.99280 [21588.0x200b000] DEBUG tntnet.worker - no keep alive request/reply=0/0
2007-05-16 16:00:08.99299 [21588.0x200b000] DEBUG tntnet.httprequest - applicationscope not locked
2007-05-16 16:00:08.99305 [21588.0x200b000] DEBUG tntnet.httprequest - sessionscope not locked
2007-05-16 16:00:08.99312 [21588.0x200b000] DEBUG tntnet.scope - Scope::release(); this=0x19041c0 refs=2
2007-05-16 16:00:08.99323 [21588.0x200b000] DEBUG tntnet.worker - waiting for job