From e6472738b5253aa328f8b2a4f4f2a23abc8582c2 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Sun, 15 Apr 2012 18:59:50 +0200 Subject: Reorganization of folders. --- source/cfg/cherrypy.cfg | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 source/cfg/cherrypy.cfg (limited to 'source/cfg/cherrypy.cfg') diff --git a/source/cfg/cherrypy.cfg b/source/cfg/cherrypy.cfg new file mode 100644 index 00000000..a419504d --- /dev/null +++ b/source/cfg/cherrypy.cfg @@ -0,0 +1,24 @@ +[global] +log.error_file = "var/error.log" +log.access_file = "var/access.log" +server.environment = "production" +engine.autoreload_on = True +engine.autoreload_frequency = 5 +engine.timeout_monitor.on = False + +[/] +tools.staticdir.root = os.getcwd() +tools.staticdir.on = True +tools.staticdir.dir = "." +tools.encode.on = True +tools.encode.encoding = "utf8" + +[/css] +tools.staticdir.on = True +tools.staticdir.dir = "css" +tools.staticdir.match = "(?i)^.+\.css$" + +[/images] +tools.staticdir.on = True +tools.staticdir.dir = "img" +tools.staticdir.match = "(?i)^.+\.png$" \ No newline at end of file -- cgit