htaccess password protected dir

 

.htaccess
AuthType Basic
AuthName “restricted area”
AuthUserFile /home//public_html//.htpassword
require valid-user

eg

AuthType Basic
AuthName “restricted area”
AuthUserFile /home/workassis/public_html/documents/.htpassword
require valid-user

.htpassword
bikesh:papAq5PwY/QQM
raju:lofN7oBa7bM4w

 

http://davidwalsh.name/password-protect-directory-using-htaccess

http://davidwalsh.name/htaccess-username-password-generator

  Like
Author: bm on January 10, 2014
Category: ubuntu

Your comment:

Your Name

Comment:




Last articles