Issue #430 resolved

cptools.serveFile shouldn't guess rootdir

Robert Brewer
created an issue

There has been some debate in the past as to where the implicit root of cptools.serveFile (and therefore staticfilter) should be. Now that we're providing more support for multiple apps in CP, even the current guess ({{{cherrypy.root.module}}}) is moot, and serveFile should simply raise a ValueError if given a path that isn't absolute. StaticFilter deployments, therefore, would be required to possess a static_filter.root config entry.

Comments (2)

  1. Log in to comment