apache访问目录要密码但访问文件不用


AuthType "Basic"
AuthName "Password Required"
AuthUserFile ".htpasswd"
Require valid-user
       
                Satisfy Any
                Allow from all
       

你可能感兴趣的:(Apache,Linux)