Password Protect Web Directory Using htaccess

This is a trivial matter for most admins. Here’s a quick recipe:

AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider file
AuthUserFile /etc/apache2/.htpasswd
Require valid-user

Similar Posts:




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published.