.htaccess .htpasswd samples

.htaccess

AuthUserFile /home/user/domain/secretfolder/.htpasswd
AuthType Basic
AuthName "Login Details"
Require valid-user

Encryption Tool

.htpasswd

abc:9476nIHW7Esgw

First Make sure you have AllowOverride All option enabled

Advertisements