Answer the question
In order to leave comments, you need to log in
How to restrict access to xml file for users?
Added xml extension to nginx exceptions.
Added to the htaccess file:
<Files "tracking.xml">
Order deny,allow
Deny from all
</Files>
<FilesMatch ".(xml)$">
Deny from all
</FilesMatch>
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