Name

AuthUserFile

Synopsis

                     AuthUserFile 
                     filename
                  

[Within <Directory>, or .htaccess]

Specifies a file that contains a list of users and passwords for user authentication, either as a fully qualified filename or relative to the ServerRoot. The password file is typically created with the htpasswd support program, which comes with the Apache distribution. It is best to place the password file outside the DocumentRoot for security purposes. For example:

AuthUserFile /etc/admin/.htpasswd

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.