R
R
Rutulets Ubulov2022-01-31 14:25:24
htaccess
Rutulets Ubulov, 2022-01-31 14:25:24

All In One WP Security is blocking access to the browserconfig.xml file How can I access it?

The plugin for wordpress All In One WP Security blocks access to the browserconfig.xml file with these lines RedirectMatch 403 config\.and

RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml)
in the .htaccess file. As I understand it, this is due to the presence of the word config in the file name. And I understand that this is done for the sake of site security, to restrict access to config files. How without opening access to all config files, give access only to the browserconfig.xml file? This file is located in the /favicons/ directory.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dodo512, 2022-01-31
@RutuLets

RedirectMatch 403 config\.

Replaced by
RedirectMatch 403 ^/(?!favicons/browserconfig\.xml).*config\.

R
Rutulets Ubulov, 2022-01-31
@RutuLets

There is also this line

RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml)

How else to replace it so that it does not block all files called config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question