Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **INLCUDE htpasswd**
- To generate .htpasswd:
- htpasswd -c ./.htpasswd admin
- Add this in .htaccess:
- AuthUserFile /home/test/public_html/.htpasswd
- AuthGroupFile /dev/null
- AuthName "Development Branch"
- AuthType Basic
- <Limit GET POST>
- require valid-user
- </Limit>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement