http proxy is currently the default with Linux Installer builds.
There are several reasons for this:
1) http proxy (mod_proxy_html/mod_proxy_http) comes installed by default
in the vast majority of Linux distro's, so installation is incredibly
simple because it's already done in most cases.
2) mod_proxy_ajp is *unavailable* in the majority of Linux distro's, so
in those cases a custom compilation would be required.
3) mod_jk (which uses the AJP protocol) used to come pre-installed until
binaries of the connector were no longer supplied by the Apache
foundation. This also means custom compiled versions would be required.
4) mod_proxy_http is recommended by Mark Thomas, a major contributor to
the Tomcat project:
http://www.tomcatexpert.com/blog/2010/06/16/deciding-between-modjk-modproxyhttp-and-modproxyajp
"Given a completely free choice, I'd use mod_proxy_http just because the
configuration is more consistent with other httpd modules."
To find the same information you're looking for with CGI.REMOTE_ADDR in
a default install, check the X-Forward-* HTTP headers instead.
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
X-Forwarded-For: The IP address of the client.
X-Forwarded-Host: The original host requested by the client in the Host
HTTP request header.
X-Forwarded-Server: The hostname of the proxy server.
You can grab these using the CFML GetHTTPRequestData() function. IE:
<cfset myHeaders = GetHttpRequestData()>
<cfdump var="#myHeaders#">
Hope this helps.
Warm Regards,
Jordan Michaels