2017-04-25 28 views

答えて

0

解決!

SetEnvIf Request_URI "/blank.gif" noauth=1 

RewriteEngine on 
RewriteRule ^blank.gif$ count.php 

AuthType Basic 
AuthName "Restricted Content" 
AuthUserFile /home/admin/web/domain.com/public_html/.htpasswd 

Order Deny,Allow 
Satisfy any 
Deny from all 
Require valid-user 
Allow from env=noauth