Satisfy All AuthUserFile /etc/apache/htpasswd Require valid-user #put in .htaccess file in any sub directory you want to allow access to. Satisfy Any Order Deny,Allow Allow from all