
하나의 IP 주소를 제외한 모든 IP에서 페이지에 대한 액세스를 거부하지만 Apache에서 이 승인된 IP 주소에 대한 기본 인증을 갖는 방법은 무엇입니까? 감사해요
답변1
/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