newbie and (dot)access
-
hello – total newbie here. i just installed the totally awesome quttera scanner on a half-dozen WP sites and found LOTS of nasty looking stuff.
however, this one puzzles me regarding (dot)htaccess:
Severity: enSuspiciousThreatType
File: /.htaccess
File signature: 6d8fd6adf1a8cc6370d68b51edc0ffe7
Threat signature: 2854e0d7455a62852d90a0b164a018c3
Threat: RewriteRule ^(.*)$ h
Details: Detected suspicious JavaScript redirectionhere is my (dot)access:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [R=301,QSA,NC,L]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPresssuggestions appreciated.
- The topic ‘newbie and (dot)access’ is closed to new replies.