I want to create a rule to rewrite a cookie's attributes, i.e. add secure and HttpOnly flags and reset the path to a different directory. I figure I can use the RESPONSE_HEADERS variable, but I'm not sure how to go about creating a rule to rewrite content. Can someone point me to an example?

Thanks
 - J