Rob's web

Policies

Policies can be declared globally, per virtual host, per page or per link.

Global policies are set in httpd.conf or vhssl.conf.

Virtual host policies are set in /etc/httpd/conf/vhosts/<URL>.conf.

Page policies are set in the header section from the html file. There might be limitations.

<meta name="referrer" content="origin" />

You can even set it in a link.

<a href="https://example.com" referrerpolicy="origin">…</a>

Alternatively, you can set a noreferrer link relation on an a, area, or link elements:

<a href="https://example.com" rel="noreferrer">…</a>

Warning: As seen above, the noreferrer link relation is written without a dash. When you specify the referrer policy for the entire document with a <meta> element, it should be written with a dash: <meta name="referrer" content="no-referrer">.