2011-03-18 6 views

답변

2

당신은 htaccess로

#require authentication of requests 
AuthName "Restricted Area" 
AuthUserFile /var/www/.htpasswd 
AuthType basic 
Require valid-user 
#deny access to all, allow for selected ip's/domains 
Order Deny,Allow 
Deny from all 
Allow from 123.123.123.123 googlebot.com google.com google-analytics.com 
#if any of these rules are satisfied they may proceed 
Satisfy Any 

당신은 암호 파일을 추가해야 사용할 수 있습니다.

관련 문제