INSTALL

There are two ways to install mod_auth_tacacs. The first one is the APACI way where mod_auth_tacacs is statically linked with Apache. The second one is the APXS way where mod_auth_tacacs is built as a DSO and dynamically loaded into Apache.

The APACI way

You need Apache source distribution and mod_auth_tacacs source distribution.

  1. Extract Apache from archive: tar -xzf /path/to/apache_1.3.4.tar.gz
  2. Move to Apache directory: cd apache_1.3.4
  3. Extract mod_auth_tacacs from archive: tar -xzf /path/to/mod_auth_tacacs-1.0.1.tgz
  4. Build libtacacs: (cd mod_auth_tacacs-1.0.1/libtacacs/; make CFLAGS"-DUSE_SYSLOG=1")
  5. Configure ApacheINCLUDES=-I`pwd`/mod_auth_tacacs-1.0.1/libtacacs LIBS=-ltacacs LDFLAGS=-L`pwd`/mod_auth_tacacs-1.0.1/libtacacs ./configure --add-module=mod_auth_tacacs-1.0.1/mod_auth_tacacs.c [other APACI options]
  6. Build Apachemake
  7. Verify that mod_auth_tacacs has been successfully added to Apache: src/httpd -l
  8. Install Apache: make install

The APXS way

You need Apache with DSO support installed and mod_auth_tacacs source distribution.

  1. Extract mod_auth_tacacs from archive: tar -xzf /path/to/mod_auth_tacacs-1.0.1.tgz
  2. Move to mod_auth_tacacs directory: cd mod_auth_tacacs-1.0.1
  3. Build libtacacs: (cd libtacacs/; make CFLAGS"-DUSE_SYSLOG=1 -fpic")
  4. Build mod_auth_tacacs: /path/to/apxs -c -l tacacs -L ./libtacacs -I ./libtacacs mod_auth_tacacs.c
  5. Install mod_auth_tacacs: /path/to/apxs -i mod_auth_tacacs.so