Fixed double login prompt on authentication pages such as log viewer. Automatically redirect logins on HTTP to HTTPS now.

master
YandolsZX 5 years ago
parent 6567acd1dc
commit 32587d062d
  1. 6
      .htaccess

@ -9,6 +9,12 @@ RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# HTTPS for authentication pages
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "%{HTTP_HOST}%{REQUEST_URI}"
ErrorDocument 403 https://%{HTTP_HOST}%{REQUEST_URI}
# Hackerbots Prevention
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^ZmEu [OR]

Loading…
Cancel
Save