I want to add a custom header to a phpbb installation without touching the code. (Using .htaccess)
The header is:
Strict-Transport-Security: max-age=157680000
Any ideas?
To add a custom header to the HTTP response headers, use the set or append option. The set option sets the specified header and replaces any header that has the same name. Alternatively, the append option sets the header if it does not already exist.
Under Custom request headers, click Add header. Enter the Header name and Header value for the custom request header.
Custom HTTP headers are commonly meant to provide additional information that may be pertinent to a web developer, or for troubleshooting purposes. These headers often times begin with X- , however, we'll discuss naming convention further on.
Header add Strict-Transport-Security "max-age=157680000"
http://httpd.apache.org/docs/2.0/mod/mod_headers.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With