- Create user passwd file: "htpasswd -c /etc/httpd/userfile username"; if "-c" flag is included, existing file will be overwritten, so no need for it when adding extra users.
- Insert
directive in httpd.conf file: - AuthName "Restricted Area"
- AuthType Basic
- AuthUserFile /etc/httpd/users
- require valid-user
Sunday, August 26, 2007
Web access authentication setup
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment