No-Encryption-Found/EN/Solution Tips: Unterschied zwischen den Versionen

Aus Siwecos
Wechseln zu: Navigation, Suche
Zeile 10: Zeile 10:
  
 
Here is an example of an .htaccess file which will set the '''Header Scanner''' to green.
 
Here is an example of an .htaccess file which will set the '''Header Scanner''' to green.
([[Htaccess|.htaccess example (German only]])
+
([[Htaccess/EN|.htaccess example]])

Version vom 20. März 2019, 11:55 Uhr

max-age=63072000; includeSubdomains; HTTP Strict Transport Security (HSTS) is a web security policy mechanism that is easy to integrate.

--snip

# Activate HTTP Strict Transport Security (HSTS)
# Required: "max-age"
# Optional: "includeSubDomains"
  Header set Strict-Transport-Security "max-age=31556926; includeSubDomains"

--snap

Here is an example of an .htaccess file which will set the Header Scanner to green. (.htaccess example)