From 266a4441ec9bbaaca09e3455c75d68f6b209e5fc Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Mon, 26 Sep 2011 21:50:10 +0200 Subject: Added CherryPy configuration file. --- cfg/cherrypy.cfg | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cfg/cherrypy.cfg (limited to 'cfg') diff --git a/cfg/cherrypy.cfg b/cfg/cherrypy.cfg new file mode 100644 index 00000000..7b53c1a2 --- /dev/null +++ b/cfg/cherrypy.cfg @@ -0,0 +1,21 @@ +[global] +log.error_file = "error.log" +log.access_file = "access.log" +server.environment = "production" +engine.autoreload_on = True +engine.autoreload_frequency = 5 + +[/] +tools.staticdir.root = os.getcwd() +tools.staticdir.on = True +tools.staticdir.dir = "." + +[/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