User/Password example - 1

access.conf:
<Directory /home/httpd/html/protected>
require valid-user
AuthName protected1
AuthType Basic
AuthUserFile /etc/httpd/access/protected.pw
</Directory>

/etc/httpd/access/protected.pw:
bob:qc0hhc9CXdGOk
fred:adfbv784.cb42
sam:DKL9vddo..40s

Contents / Previous / Next