We have to get like this secure tag.We added script in httpd.conf but still doesnt show

We tried lots of scripts combinations.One of them did it but this time, apache didn't start.Any suggestion would be nice
(By the way mod_header exist and working)
I tried those scripts one by one.
#Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
#Header set Set-Cookie HttpOnly;Secure ---------------------------------------> only this works it but when we activated it.Site login patch doesnt appear(login patch have to come)
#Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure"
#Header always edit Set-Cookie "(?i)^((?

?!;\s?HttpOnly).)+)$" "$1; HttpOnly"
#Header always edit Set-Cookie "(?i)^((?

?!;\s?secure).)+)$" "$1; secure"
Our server result: