Wednesday, June 3, 2015

Apache: How do I log values in the cookie environment variable?

I am trying to log the cookie info using



CustomLog $PATH "%{cookie}i"




Now i want the certain variables ex(hb_name, hb_email, hb_cellno, hb_visit, hb_session) to be logged into my log file from this cookie.



How can I parse out specific values from this cookie and log them?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...