mod_snake Misc API

The mod_snake Misc API is available as methods within the mod_snake module. These methods don't really fit in anywhere else.. ;-)

get_version

Synopsis

mod_snake.get_version()

Return Value

This method returns version information about mod_snake, in the same fashion as the Apache server-string. The result is of the form: ``mod_snake/version'', where version is generally something like ``0.1.0'', etc.

get_modules

Synopsis

mod_snake.get_modules()

Return Value

This method returns a list of all the modules loaded into the server. The list contains objects of type ModSnakePyMod