How to protect Dokuwiki virtual hosting timeweb?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
9.7k views
Installed Dokuwiki on the above hosting, went to settings and it says that there are problems with security, and provides a link to how to fix it : https://www.dokuwiki.org/start?id=ru:security
I do everything according to instructions, but the test file yourserver.com/dokuwiki/data/pages/wiki/dokuwiki.txt still available from the Internet.

Communicating with tech support I learned that: "In connection with the technical features of our hosting static files, for example, with the extension .txt are processed by a web server to Nginx and do not work directives, the Apache web server specified in the file .htaccess."

Further communication did not lead to anything good, except for offerings to use vds.
Therefore, the essence of the question: can means .htaccess to correct the situation?
by | 9.7k views

2 Answers

0 like 0 dislike
In this case, in any way, change the hosting
by
0 like 0 dislike
Therefore, the essence of the question: can means .htaccess to correct the situation?

No, if it is not possible to edit the configuration files Nginx.
In Your case Nginx is giving Apache file without your knowledge.

.htaccess - configuration file web server Apache.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
5 answers
110,608 questions
257,187 answers
0 comments
40,253 users