Tag Archives: apache2

Set Secure and HttpOnly Cookies in Apache 2.2.4

Steps * See this post to configure mod_jk module for Apache 2.2 and Tomcat 7 * Make sure mod_headers is loaded: # grep mod_headers.so httpd.conf LoadModule headers_module modules/mod_headers.so * Add to httpd.conf Header edit Set-Cookie ^(.*)$ $1;Secure;HttpOnly – or to … Continue reading

Posted in apache | Tagged , , | Leave a comment