Answer the question
In order to leave comments, you need to log in
How to block access to files through .htaccess?
It is required from time to time to close access to some files lying on the server. Mentions of these files will be automatically recorded in .htaccess, which lies at the root of the site:
<Files file.ext>
deny from all
</Files>
Answer the question
In order to leave comments, you need to log in
It is possible that AllowOverride None is specified in the host setting - then there is no sense from .htaccess.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question