Robotcop
System Requirements

Apache 1.3 for Unix
If a DSO (Dynamic Shared Object) version of Robotcop is not available for your platform, you'll also need the source to Apache to build Robotcop for your server. Robotcop does not support Apache 1.3 on Win32, but is coming with Apache 2.0 support in the future.

The MM library
Robotcop for Apache 1.3 uses the MM library for sharing information between Apache processes. It must be installed on your system before Robotcop is added. You can download it from the author's website. Note that MM installs a utility called mm-config which must be in your PATH if you intend to build Robotcop from source. Note that some RPM installers for MM are broken and leave out mm-config and other key files.

Choose a Download

You can install Robotcop two different ways. The first way is to load Robotcop as a DSO (Dynamic Shared Object) which is available if your Apache has mod_so enabled. The second way is to recompile Apache from source with Robotcop included.
Robotcop via DSO

  1. Download and extract the DSO for your platform to the directory of your choice.
  2. Type /path/to/your/apache/bin/apxs -n robotcop -i -a librobotcop.so
  3. Add LoadFile /path/to/your/libmm.so to your httpd.conf above the LoadModule directive. libmm.so is usually in /usr/lib or /usr/local/lib.
  4. Follow the steps to configure Robotcop, then restart Apache.
That's it! If you cannot find apxs your Apache may not have mod_so DSO support enabled. Check your configuration and rebuild.
Robotcop via Source Code

These instructions will build Robotcop from source on your machine by adding it to the standard build system in Apache. When you compile Apache, it will build and install Robotcop for you.
  1. Download and extract the source code to the directory of your choice.
  2. Copy the Robotcop source to src/modules/robotcop in your Apache source directory.
  3. Make sure mm's mm-config is installed on your system and available in your PATH.
  4. Go to your Apache source diretory and run the configure command including the option
    --activate-module=src/modules/robotcop/librobotcop.a
  5. Run make && make install to rebuild Apache.
  6. Follow the steps to configure Robotcop, then start Apache.

To build and install Robotcop as a DSO instead, add the option --enable-shared=robotcop to the configure options in step 4.