Specify which TACACS+ host query for Authentication.
Specify which TACACS+ key to use to encrypt communication between Apache and the authentication server.
Set to no to allow access control to be passed along to lower modules if the UserID is not known to this module.
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