martin 98/05/29 13:49:29
Modified: htdocs/manual/mod mod_cgi.html Log: Correct the description of REMOTE_HOST and REMOTE_IDENT Revision Changes Path 1.16 +8 -3 apache-1.3/htdocs/manual/mod/mod_cgi.html Index: mod_cgi.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/mod_cgi.html,v retrieving revision 1.15 retrieving revision 1.16 diff -u -u -r1.15 -r1.16 --- mod_cgi.html 1998/05/20 14:12:54 1.15 +++ mod_cgi.html 1998/05/29 20:49:28 1.16 @@ -43,11 +43,16 @@ following provisions: <DL> <DT>REMOTE_HOST -<DD>This will only be set if the server has not been compiled with -<CODE>MINIMAL_DNS</CODE>. +<DD>This will only be set if <A HREF="core.html#hostnamelookups"><CODE>HostnameLookups</CODE></A> +is set to <CODE>on</CODE> (it is off by default), and if a reverse DNS +lookup of the accessing host's address indeed finds a host name. <DT>REMOTE_IDENT <DD>This will only be set if -<A HREF="core.html#identitycheck">IdentityCheck</A> is set to <CODE>on</CODE>. +<A HREF="core.html#identitycheck">IdentityCheck</A> is set to <CODE>on</CODE> +and the accessing host supports the ident protocol. Note that the contents +of this variable cannot be relied upon because it can easily be faked, and if +there is a proxy between the client and the server, it is usually +totally useless. <DT>REMOTE_USER <DD>This will only be set if the CGI script is subject to authentication. </DL>
