# vi /etc/apache2/sites-available/example.com.conf
Header set Set-Cookie HttpOnly;Secure
Apache配置cookie的HttpOnly属性
# vi /etc/apache2/sites-available/example.com.conf
Header set Set-Cookie HttpOnly;Secure
# vi /etc/apache2/sites-available/example.com.conf
Header set Set-Cookie HttpOnly;Secure