Answer the question
In order to leave comments, you need to log in
What function/meaning does this expression serve?
Found the following in my .htaccess file:
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
*.init.js
files?
Answer the question
In order to leave comments, you need to log in
This rule prohibits access to files with extensions tpl, ini, log and txt except for robots.txt
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))$">
*.init.js
files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question