Next: Apache Webserver Configuration
Up: Using Mod Snake
Previous: Using Mod Snake
  Contents
Installation
Installation is a simple matter. The following steps can be used to install
mod_snake in an Apache webserver.
- Download either Apache 1.3.x or Apache 2.0 (version 2.0a6 has been extensively
tested with mod_snake)
- If you are using Apache 1.3.x, run the Apache 1.3 configure script, to perform
basic configuration. This sets up include files that mod_snake needs.
- If you are using Apache 2.0, run the Apache 2.0 configure script, and select
shared library options (mod_so, etc). This may or may not link httpd with the
right flags (-ldl and -export-dynamic) - if it doesn't, then you will need
to hack the Apache configure script (sorry, Apache 2.0 is still alpha software)
- Run the mod_snake configure script like:
./configure -with-apache=/my/apache/baseroot
The configure script should auto-detect what version of Apache you are using,
and report it.
- Run the mod_snake 'make' command to make the library.
- If you are using Apache 1.3.x, a static module will be built. The mod_snake
module can then be inserted into your Apache 1.3.x make by typing, 'make install'
in the mod_snake directory. *WARNING* Mod_snake will currently
only load as a static module in Apache 1.3.x modules. In order to build Apache
with the new mod_snake module, you must add the following arguments to the
Apache 1.3.x configure :
./configure -activate-module=src/modules/mod_snake/libmod_snake.a
- If you are using Apache 2.0, you should now have a new library (libmod_snake.so)
sitting in your mod_snake directory. You can either leave this here, or copy
it into a more conventional location, such as the Apache libexec directory.
Next: Apache Webserver Configuration
Up: Using Mod Snake
Previous: Using Mod Snake
  Contents
2000-09-01