AuthUserFile


Purpose

The AuthUserFile directive sets the file to use as a list of users and passwords for user authentication.


Scope

This directive applies to both global and per-directory ACFs.

This directive must be accompanied by AuthName, AuthType, and AuthGroupFile directives in order for user authentication to work properly.


Syntax

AuthUserFile path

path is the absolute path of a user file created with the htpasswd support program.


Default

There is no default.


Example

AuthUserFile /usr/local/etc/httpd/conf/.htpasswd

Sets the authorization user file for this directory to /usr/local/etc/httpd/conf/.htpasswd.


Return to access configuration overview

httpd@ncsa.uiuc.edu