view mcserver/mcserver.cfg @ 4:02b4c5e122e8

small config update
author gyorgyf
date Sun, 17 Jun 2012 00:00:01 +0100
parents 71cea958c8a2
children c97feb7ef9e9
line wrap: on
line source
#global server config
[global]

# kakapo<->golden
server.socket_host = "192.168.122.144" 
server.socket_port = 8030
server.thread_pool = 30
server.show_tracebacks = False

engine.autoreload_on = False #should be off
engine.autoreload_frequency = 180 #sec

tools.sessions.on = True
tools.sessions.timeout = 600 #min
tools.sessions.clean_freq = 120	#min	
# tools.sessions.storage_type = 'directory'
# tools.sessions.SESSIONS_PATH = 'sessions/'
# tools.sessions.SESSIONS_PATH = 'sessions'

# expose everything in static, but note that sessions are enabled in this scope
tools.staticdir.on = True
tools.staticdir.dir = 'static'
# tools.staticdir.content_types = {'n3': 'text/rdf+n3', 'rdf': 'application/rdf+xml'}


#main app config
[/]
response.timeout = 600 #sec
request.show_tracebacks = False
# log.access_file = 'mcserver-access.log'
# log.error_file = 'mcserver-error.log'
# tools.staticdir.root = 'mcserver'
tools.staticdir.on = True
tools.staticdir.dir = 'static'

# explicit configuration of static content with sessions disabled
[/script]
tools.sessions.on = False