
Como negar o acesso a uma página de qualquer IP exceto de um endereço IP, mas ter autenticação básica para este endereço IP autorizado no Apache? Obrigado
Responder1
/some/location/.htaccess
Allow from 149.15.90.70
deny from all
AuthType basic
AuthName "My Protected Page"
AuthBasicProvider file
AuthUserFile /staff/widricd/htpasswd
Require user mint