User bio
404 bio not found
Member since Dec 9, 2015
Posts:
Replies:
Brian Palmund · Aug 10, 2016 go to post

One little detail. Any dash (-) is converted to underscore (_) so the correct code in this example is:

set ipCountry=%request.GetCgiEnv("HTTP_CF_IPCOUNTRY")

for a header called CF-IPCOUNTRY.

Brian Palmund · Aug 10, 2016 go to post

Perfect! It works like a charm....

The documentation on CGI Environment Variables only refers to a set of variables to available. I does not describe that all http headers is readable thru HTTP_<header>.

Thanks!

/Brian

Certifications & Credly badges:
Brian has no Certifications & Credly badges yet.
Followers:
Brian has no followers yet.
Following:
Brian has not followed anybody yet.