From: Graham Leggett
+ CONN_LOG_ID
The error log id of the connection (see
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 7b3cbf5b1b..203c1cb0c8 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -1377,6 +1377,10 @@ in case of an error
+ CONN_REMOTE_ADDR
The raw IP address of the remote host (see the
+
+ %a
Remote IP-address and port
+
+ %{c}a
Actual remote IP-address and port (see the
+
diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml
index 1943d5c266..907bfda4a2 100644
--- a/docs/manual/mod/mod_log_config.xml
+++ b/docs/manual/mod/mod_log_config.xml
@@ -73,6 +73,10 @@
%A
Local IP-address and port
+ %a
Remote IP-address.
+
+ %{c}a
Actual remote IP-address and port (see the
+
diff --git a/docs/manual/mod/mod_remoteip.xml b/docs/manual/mod/mod_remoteip.xml
index 695f4b2205..547542c748 100644
--- a/docs/manual/mod/mod_remoteip.xml
+++ b/docs/manual/mod/mod_remoteip.xml
@@ -23,9 +23,9 @@
%A
Local IP-address.
The module replaces the apparent remote (client) IP/hostname for +
The module overrides the apparent remote (client) IP for
the request with the IP address reported in the request header
configured with the
Once replaced as instructed, this apparent IP address is then used
- for %a
and %h
- directives. It also determines the machine probed for an inetd
- identity by
%a
and %a
format strings. The original remote IP of the connection is
+ available in the %{c}a
format string.
mod_remoteip replaces the true remote_ip with the advertised remote_ip as provided by a proxy, for every evaluation of the client that occurs in the - server, and resets the remote_host and remote_logname values to trigger a - fresh dns or ident query of the remote IP address.
+ server.When multiple, comma delimited remote IP addresses are listed in the header value, they are processed in Right-to-Left order. Processing halts when a given remote IP address is not trusted to present the - preceeding IP address. The header field is updated to this remaining + preceding IP address. The header field is updated to this remaining list of unconfirmed IP addresses, or if all IP addresses were trusted, this header is removed from the request altogether.