The only htaccess threats my site is showing are in this file:
/public_html/wp-content/cache/minify/.htaccess
And the highlighted areas are in the last few lines, shown bold below:
# BEGIN W3TC Minify core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp-content/cache/minify/
RewriteRule /w3tc_rewrite_test$ ../../plugins/w3-total-cache/pub/minify.php?w3tc_rewrite_test=1 [L]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* – [E=APPEND_EXT:.gzip]
RewriteCond %{REQUEST_FILENAME}%{ENV:APPEND_EXT} -f
RewriteRule (.*) $1%{ENV:APPEND_EXT} [L]
RewriteRule ^(.+/[X]+\.css)$ ../../plugins/w3-total-cache/pub/minify.php?test_file=$1 [L]
RewriteRule ^(.+\.(css|js))$ ../../plugins/w3-total-cache/pub/minify.php?file=$1 [L]
</IfModule>
# END W3TC Minify core
For clarification, these are the two lines shown as threats:
RewriteRule ^(.+/[X]+\.css)$ ../../plugins/w3-total-cache/pub/minify.php?test_file=$1 [L]
RewriteRule ^(.+\.(css|js))$ ../../plugins/w3-total-cache/pub/minify.php?file=$1 [L]
I have no idea how to fix this …
Thanks!
-
This topic was modified 7 years, 9 months ago by Raylene Wall.
I think this is actually a False Positive. Please don’t do anything with it yet. Let me take a look at the definitions and get back to you…
I have just whitelisted this false threat so that it will not be incorrectly flagged as malicious. Please download the latest definition updates and let me know if you have any more issues like this.