Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # assumes the file /etc/httpd/auth/domain.com.passwd
- #
- sudo /usr/bin/htpasswd domain.com.passwd <user>
- # and in the .htaccess file
- AuthType Basic
- AuthName "Demo"
- AuthUserFile /etc/httpd/auth/domain.com.passwd
- Require user <user>
Add Comment
Please, Sign In to add comment