Securing a directory on Apache with Digest Authentication

       Options FollowSymLinks
       AllowOverride None
       AuthType Digest
       AuthName "munin"
       AuthDigestFile /var/www/munin/.htpasswd
       #people using apache 2.2 will use instead:
       #AuthUserFile  /var/www/munin/.htpasswd
       require valid-user

sudo htdigest -c /var/www/dirname/.htpasswd realmname username

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.