Answer the question
In order to leave comments, you need to log in
If access is denied via .htaccess using .htpasswd, then how to allow access without a password to a specific folder?
Hello. My domain is denied access with
<Files .htpasswd>
deny from all
</Files>
Answer the question
In order to leave comments, you need to log in
Like this:
Authtype Basic
AuthName "Test server"
AuthUserFile /xxxx/.htpasswd
Require expr %{REQUEST_URI} =~ m#^/openpath/.*#
Require valid-user
put in this folder .htaccess
it interrupts the rights of the parent and inherits.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question