HTTP Basic Auth Exclude Single File

前端 未结 2 1304
一个人的身影
一个人的身影 2020-12-29 05:43

Part of my .htaccess file looks like this-

AuthUserFile /path/to/.htpasswd
AuthName \"Authorization Required\"
AuthType Basic
require valid-user
2条回答
  •  别那么骄傲
    2020-12-29 06:20

    AuthUserFile /path/to/.htpasswd
    AuthName "Authorization Required"
    AuthType Basic
    require valid-user
    
        Satisfy Any
        Allow from all
    
    

提交回复
热议问题