I'm not sure how can I add referrer policy header to my virtual host configuration file.
Let's say that I want to add something like this
Referrer-Header: same-origin, should it be in this way:
Header set Referrer-Header: same-origin
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
The header you're looking for is called
Referrer-Policy, not "Referrer-Header".
As such, the correct way to set it would be:
Header always set Referrer-Policy "same-origin"
Not sure what you are asking, or trying to accomplish here...
SAMEORIGIN is a value for the
Apache send this header to all your pages, you would need to add this directive to your site config file :
Header always append X-Frame-Options SAMEORIGIN