Use below tricks:
AuthType Basic AuthName "Restricted Access" AuthUserFile /home/secure/apasswords Require user vivek
# chown www-data:www-data /home/secure/apasswords # chmod 0660 /home/secure/apasswords
vi .htaccessAdd following text:AuthType Basic AuthName "Restricted Access" AuthUserFile /home/secure/apasswords Require user vivek
No comments:
Post a Comment