I\'m running Apache 2.2.26:
Server version: Apache/2.2.26 (Unix) Server built: Jan 17 2014 12:24:49 Cpanel::Easy::Apache v3.22.30 rev9999 +cloudlinux >
Server version: Apache/2.2.26 (Unix) Server built: Jan 17 2014 12:24:49 Cpanel::Easy::Apache v3.22.30 rev9999 +cloudlinux
I was trying to set http, secure and samesite=strict on cookies.
This worked for me:
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
Samesite=strict provides protection againsts XSRF.
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=strict
Hope it helps.