4.5.6.1 Server Methods

get_config( )
Similar to req.get_config(), but returns a config pointed to by server->module_config Apache config vector.

get_options( )
Similar to req.get_options(), but returns a table object holding only the mod_python options defined at global scope within the Apache configuration. That is, outside of the context of any VirtualHost, Location, Directory or Files directives.

register_cleanup( request, callable[, data])
Registers a cleanup. Very similar to req.register_cleanup(), except this cleanup will be executed at child termination time. This function requires one extra argument - the request object.