Exclude one folder in htaccess protected directory

前端 未结 5 1746
猫巷女王i
猫巷女王i 2020-12-30 00:20

I have a directory protected by htaccess. Here is the code I use now:

AuthName \"Test Area\"
Require valid-user
AuthUserFile \"/***/.htpasswd\"
AuthType basi         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 00:44

    Just create an .htaccess file in the subdirectory with the content:

    Satisfy any

提交回复
热议问题