我在修改.htaccess文件中的cookie属性时遇到问题。我尝试了以下代码:
Header always edit "Set-Cookie" ""
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=Strict
Header always Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=Strict
Header set Set-Cookie HttpOnly;Secure;SameSite=Strict
Header always set Set-Cookie HttpOnly;Secure;SameSite=Strict
但这些都没有更改Cookie属性中的任何内容。我无法获取apache版本,并且apache具有mod_headers.c。