Cannot log a cookie with a dash in the name
Hates_
nginx-forum at nginx.us
Mon Mar 12 18:38:08 UTC 2012
I am trying to log cookies but they have a dash in the name as such:
"Member-v1.0=$cookie_Member-v1.0"
My logs come through as:
Member-v1.0=--v1.0
Is there a work around?
I've tried wrapping the name in curly brackets and also using
underscores but get an error about an unmatched bracket or no value.
I've tried the following formats:
"Member-v1.0=${cookie_Member-v1.0}"
"Member-v1.0=$cookie_Member_v1.0"
"Member-v1.0=$cookie_Member_v1_0"
Any help would be greatly appreciated. I don't want to have to move to
Apache :\
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,223770,223770#msg-223770
More information about the nginx
mailing list