Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. ##Create new file named “.htaccess” in the folder with this Content
  2.  
  3. AuthName "Password Protected!"
  4. AuthType Basic
  5. AuthUserFile /home/cpanel_user_name/public_html/folder_name/.htpasswd
  6. require valid-user
  7.  
  8. ##Create new file named “.htpasswd” in the same folder with this Content (Username:Password)
  9.  
  10. asiq:12345
  11.  
  12. ##*Change cpanel_user_name & folder_name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement