Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. **INLCUDE htpasswd**
  2.  
  3. To generate .htpasswd:
  4.  
  5. htpasswd -c ./.htpasswd admin
  6.  
  7. Add this in .htaccess:
  8.  
  9. AuthUserFile /home/test/public_html/.htpasswd
  10. AuthGroupFile /dev/null
  11. AuthName "Development Branch"
  12. AuthType Basic
  13.  
  14. <Limit GET POST>
  15. require valid-user
  16. </Limit>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement