Next: Profiling
Up: Mod Snake Configuration Directives
Previous: SnakeModuleDir
  Contents
- Synopsis
-
SnakeModule module.class [profile]
- Arguments
-
- 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 section 4.
- Validity
-
This configuration directive is currently only available within the main configuration
file outside <Directory> and <Location> blocks.
- Description
-
This directive loads a PyMod into mod_snake. These can be active for virtual
servers or the main server.
2000-09-01