I have a software running part of it’s login system on the server that I have recently added a WP install to and now regularly the domain’s httpd.conf file keeps getting overwritten, adding in a line that is blocking access to a page that contains the word “license” in it.
The code that is causing the issue is below
# "Block access to sensitive files"
# To remove this rule, revert this security measure on each WordPress installation on this domain
<LocationMatch "(?i:(?:wp-config\\.bak|\\.wp-config\\.php\\.swp|(?:readme|license|changelog|-config|-sample)\\.(?:php|md|txt|htm|html)))">
Require all denied
</LocationMatch>I have tried removing this whole section as well as just the “license” part but it just get’s over written at random. Does anyone have a clue what is rewriting this? I have looked through every setting I can in my domains admin panel as well as in the WP admin but cannot find any setting that would change this.
The plugins I have installed are:
Ad Inserter by Igor Funa
Akismet Anti-Spam
Jetpack
Jetpack Boost
WP Meta and Date Remover
Yoast SEO
Yoast SEO Premium
WP was installed via Plesk web admin.
I would love any idea of where to look first. Thanks in advance.
