]> granicus.if.org Git - apache/commitdiff
Correct the description of REMOTE_HOST and REMOTE_IDENT
authorMartin Kraemer <martin@apache.org>
Fri, 29 May 1998 20:49:28 +0000 (20:49 +0000)
committerMartin Kraemer <martin@apache.org>
Fri, 29 May 1998 20:49:28 +0000 (20:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81418 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_cgi.html

index 94201f0fb5beb64e64d1d7080869881db5e8755a..57f0ad660e2fe139ecf8d9fda7e2fbea3ded3fae 100644 (file)
@@ -43,11 +43,16 @@ The server will set the CGI environment variables as described in the
 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>