coar 98/07/04 08:10:51
Modified: htdocs/manual upgrading_to_1_3.html Log: Add a note about the change to REMOTE_HOST (making it compliant with the erstwhile CGI specification). PR: 2546 Revision Changes Path 1.27 +12 -0 apache-1.3/htdocs/manual/upgrading_to_1_3.html Index: upgrading_to_1_3.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/upgrading_to_1_3.html,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- upgrading_to_1_3.html 1998/07/04 14:59:56 1.26 +++ upgrading_to_1_3.html 1998/07/04 15:10:50 1.27 @@ -131,6 +131,18 @@ <LI><CODE>HostnameLookups</CODE> defaults to Off. + <LI><STRONG><SAMP>REMOTE_HOST</SAMP> CGI variable changed.</STRONG> + In Apache 1.2 and earlier, the <SAMP>REMOTE_HOST</SAMP> environment + variable made available to CGI scripts was set to either the + full DNS name of the client, or else to the client's IP address + if the name was not known. This behaviour differed from that + specified by the CGI specification, which defines this variable as being + NULL if the name isn't known. In Apache 1.3, we have made this correction. + <SAMP>REMOTE_ADDR</SAMP> always contains the client's IP address, + but <SAMP>REMOTE_HOST</SAMP> is only defined when the server has + been able to determine the client's DNS name. + </LI> + <LI>The undocumented <A HREF="mod/mod_access.html"><CODE>mod_access</CODE></A> syntax "allow user-agents" was removed. The replacement is the