Author Topic: SSL-redirect or https redirect gives false positive warning  (Read 1143 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
SSL-redirect or https redirect gives false positive warning
« on: April 29, 2018, 12:23:50 PM »
Hi. The visitors of my website have been since 1 year complaining of warning message when they try to access my website while using Avast. The problem disappears completely when I delete the SSL-redirect code from .htaccess file. I tried many many different forms of SSL-redirect code in .htaccess file but all of them trigger the same warning when using Avast. I use SSL Starter Plus from 1und1.de. Please help.

code:

RewriteEngine On
#removing the www from your hosts, regardless of http or https protocol
RewriteCond %{HTTP_HOST} ^www\.
RewriteCond %{HTTPS}s ^on(s)|off
RewriteCond http%1://%{HTTP_HOST} ^(https?://)(www\.)?(.+)$
RewriteRule ^ %1%3%{REQUEST_URI} [R=301,L]
#if not https
RewriteCond %{HTTPS} off
#redirect to https
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

« Last Edit: April 29, 2018, 12:42:30 PM by S2018 »

Offline Asyn

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 76037
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Re: SSL-redirect or https redirect gives false positive warning
« Reply #1 on: April 29, 2018, 02:00:12 PM »
You can report a suspected FP (File/Website) here: https://www.avast.com/false-positive-file-form.php
W8.1 [x64] - Avast Free AV 23.3.8047.BC [UI.757] - Firefox ESR 102.9 [NS/uBO/PB] - Thunderbird 102.9.1
Avast-Tools: Secure Browser 109.0 - Cleanup 23.1 - SecureLine 5.18 - DriverUpdater 23.1 - CCleaner 6.01
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0

REDACTED

  • Guest
Re: SSL-redirect or https redirect gives false positive warning
« Reply #2 on: April 29, 2018, 02:12:13 PM »

Offline Asyn

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 76037
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Re: SSL-redirect or https redirect gives false positive warning
« Reply #3 on: April 29, 2018, 02:15:18 PM »
You're welcome.
W8.1 [x64] - Avast Free AV 23.3.8047.BC [UI.757] - Firefox ESR 102.9 [NS/uBO/PB] - Thunderbird 102.9.1
Avast-Tools: Secure Browser 109.0 - Cleanup 23.1 - SecureLine 5.18 - DriverUpdater 23.1 - CCleaner 6.01
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0