aboutsummaryrefslogtreecommitdiff
path: root/cfg/cherrypy.cfg
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-09-26 21:50:10 +0200
committercedricbonhomme <devnull@localhost>2011-09-26 21:50:10 +0200
commit266a4441ec9bbaaca09e3455c75d68f6b209e5fc (patch)
tree0015f32cd5b0ecf95162dd9cb0e711fad85f9415 /cfg/cherrypy.cfg
parentTest of the detection of feeds in HTML page. (diff)
downloadnewspipe-266a4441ec9bbaaca09e3455c75d68f6b209e5fc.tar.gz
newspipe-266a4441ec9bbaaca09e3455c75d68f6b209e5fc.tar.bz2
newspipe-266a4441ec9bbaaca09e3455c75d68f6b209e5fc.zip
Added CherryPy configuration file.
Diffstat (limited to 'cfg/cherrypy.cfg')
-rw-r--r--cfg/cherrypy.cfg21
1 files changed, 21 insertions, 0 deletions
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
bgstack15