User/Password example - 2

require valid-user
Any authenticated user can access the pages.
AuthName protected1
The userid/password gets the tag "protected1" and the browser should automatically give it to any request from the same server for the same tag.
AuthType Basic
At the moment there is only "Basic" authentication.
AuthUserFile /etc/httpd/access/protected.pw
The file containing userids and encrypted passwords.

Contents / Previous / Next