Snake Lib

Jon Travis

jtravis@p00p.org

v0.50, 01 October 2000

The mod_snake distribution includes a variety of useful PyMods which provide features found in other popular packages, such as mod_perl. This makes it very easy for developers to pick and choose existing PyMods which provide functionality that they need without requiring them to write their own code. This bundling of standard included PyMods is called Snake Lib.


Table of Contents
Setting Up Snake Lib
mod_snake_cgi
mod_snake_epy
mod_snake_simple

Setting Up Snake Lib

Snake Lib is the library of modules which ship with mod_snake. After unpacking the distribution, snake_lib is in: mod_snake-x.y.z/snake_lib. Snake Lib can be used regardless of its location on the system. The only requirement is that httpd.conf be updated to reflect the location. To add the directory to mod_snake's internals, the following line can be added:

    SnakeModuleDir  /path/to/snake_lib

Adding this directive is not a requirement to use mod_snake, nor is using any of the snake_lib modules.