Categories
Is it possible to disable all files in a folder?
It is necessary to make all files absolutely inaccessible in a directive, for example, in /include. Can this be done using htaccess?
Answer the question
In order to leave comments, you need to log in
Create .htaccess in include folder and write theredeny from all;
deny from all;
you can create a .htaccess file in the main folder of the site (if it doesn’t exist) and enter there:
<Location /include> Order Deny,Allow Deny from all </Location>
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question