Answer the question
In order to leave comments, you need to log in
How to allow access to only one directory via htaccess?
There is a directory with 4 files and 4 folders. It is necessary to prohibit access to all these files and folders except for one, it is called "folder". How can I do that?
This is how I get a 500 error:
Require all denied
<Directory "build">
Require all granted
</Directory>
Require all denied
<Files "build">
Require all granted
</Files>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question