[APACHE DOCUMENTATION]

Apache HTTP Server Version 1.3

Module mod_auth_tacacs

mod_auth_tacacs is an authentication module for Apache which uses the Authentication feature of a TACACS+ server.

Directives


Auth_Tacacs_Host

Syntax: Auth_Tacacs_Host hostname | ipadress
Context: directory
Status: required
Module: mod_auth_tacacs

Specify which TACACS+ host query for Authentication.

Auth_Tacacs_Key

Syntax: Auth_Tacacs_Key key
Context: directory
Status: optional
Module: mod_auth_tacacs

Specify which TACACS+ key to use to encrypt communication between Apache and the authentication server.

Auth_Tacacs_Authoritative

Syntax: Auth_Tacacs_Authoritative on | off
Context: directory
Status: optional
Module: mod_auth_tacacs

Set to no to allow access control to be passed along to lower modules if the UserID is not known to this module.


Sample config

into access.conf:

<Directory /var/www/docs/secretdir>
AuthName  www
AuthType  Basic
Auth_Tacacs_Host 192.168.1.17           # TACACS+ server host
Auth_Tacacs_Key Cisco			# TACACS+ server key
Auth_Tacacs_Authoritative on
<Limit GET>
order deny,allow
require valid-user
</limit>
</Directory>

Now for directory /var/www/docs/secretdir you must create a file .htaccess consisting of usernames, that can access to this directory

for example:
require user admin john smith etc


Apache HTTP Server Version 1.3

Index Home