SnakeModuleDir {Directory}
Directory - A path to look for mod_snake PyMods. This path can be relative to the server root.
This configuration directive is currently only available within the main configuration file outside <Directory> and <Location> blocks.
Mod Snake needs to know where it can locate PyMods to load. This directive also gives the modules loaded path information where they can also find other modules (for instance examples to load within the mod_snake_simple module.)
SnakeModule {module.class} [profile]
module.class - A module + class pair. The module is used the same as an 'import', and the class is a class within that module to instantiate. For instance, something like the following should be able to be performed on the module.class specified, in a typical Python interpreter.
import module x = module.class() |
profile - An optional argument which allows the loaded module to be profiled. All calls to the module will be profiled, and can be analyzed through the mod_snake_info SnakeLib module.
Warning |
Extra installation work is required to use profiling -- see the section called Profiling |
This configuration directive is currently only available within the main configuration file outside <Directory> and <Location> blocks.
This directive loads a PyMod into mod_snake. These can be active for virtual servers or the main server.