The global registry of CherryPy applications, mounted at diverse points.
This is actually an instance of a Tree class instead of a module. An instance may also be used as a WSGI callable (WSGI application object), in which case it dispatches to all mounted apps.
Mount a new app from a root object, script_name, and config.
This should start with a slash, and be the path portion of the URL at which to mount the given root. For example, if root.index() will handle requests to “http://www.example.com:8080/dept/app1/“, then the script_name argument would be “/dept/app1”.
It MUST NOT end in a slash. If the script_name refers to the root of the URI, it MUST be an empty string (not “/”).
config: a file or dict containing application config.
The script_name of the app at the given path, or None.
If path is None, cherrypy.request is used.