Commit 958a0528 authored by Martin Kraemer's avatar Martin Kraemer
Browse files

Correct the description of REMOTE_HOST and REMOTE_IDENT


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81418 13f79535-47bb-0310-9956-ffa450edef68
parent bd61d388
Loading
Loading
Loading
Loading
+8 −3
Changes for docs/manual/mod/mod_cgi.html: 8 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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>