Add a header to each request using .htaccess

.htaccess, php

Solution

Header add Strict-Transport-Security "max-age=157680000"

http://httpd.apache.org/docs/2.0/mod/mod_headers.html

Problem

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?

Original source