apache - How to fetch HTTP headers in perl when using CGI -


i'm using perl/cgi/apache , want fetch x-forwarded-for http header. how do that?

except few headers handled specially, cgi stores value of header-name: in environment variable http_header_name. so, x-forwarded-for (if present in request) should found in $env{http_x_forwarded_for}.


Comments

Popular posts from this blog

c# - Outlook Add-in,group emails based on color category -

javascript - Checkbox in firefox extension -

reflection - How to use FxCop CustomDictionary.xml from the project localization? -