Intro to Apache - ApacheCon 2005
Basic Auth - sample config
    
        <Directory /usr/local/apache/htdocs/private>
            AuthType Basic
            AuthName "Password required"
            AuthUserFile /usr/local/apache/passwords/pass
            AuthGroupFile /usr/local/apache/passwords/group
            Require user tom bob harry
        </Directory>
    
      
  • Yes, you can put this in a .htaccess file, but you don't have to

Index
Back to Basic auth, configuration cont'd
Forward to Digest authentication

ApacheCon 2005 : Intro to Apache - Slide #119 of 164