My server is running Apache 2.4.18 with below config:
/home/xxx/www/.htaccess
:
AuthType Digest
AuthName "Authenication Required"
AuthDigestProvider file
AuthUserFile /path/to/.htdigest
Require valid-user
/home/xxx/www/share/.htaccess
:
Require all granted
I want password protection for all directories and files except for the share
subdirectory. With the above configuration, a prompt for password authentication is shown when the user visits http://my.site/share/
, although he can still see the content by cancling (or closing) the dialog.
What I want is to remove the prompt for password authentication for the share
subdirectory. Is there anything wrong to my configuration?