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
apache-2.4http-headers
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
Best Answer
The header you're looking for is called
Referrer-Policy
, not "Referrer-Header".As such, the correct way to set it would be: