Securing cookies in Apache HTTPD

Solution Verified - Updated -

Issue

  • How can I enable HttpOnly cookie flag in Apache HTTPD?
  • How can I enable Secure cookie flag in Apache HTTPD?
  • How can I enable Samesite cookie flag in Apache HTTPD?

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Core Services (JBCS)
  • Red Hat JBoss Web Server (JWS)
  • Apache httpd
    • [mod_headers]((https://httpd.apache.org/docs/2.4/en/mod/mod_headers.html)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In