AuthName "Authentication Base" AuthType Basic AuthUserFile /var/www/myapp/.htpasswd Require valid-user order allow,deny allow from xx.yy. allow from xx.zz. Satisfy Any