Well, I added this to the vhost definition: ProxyPreserveHost On RemoteIPHeader X-Forwarded-For
Now I'm getting the web server's outside IP address as the value of the x-forwarded-for header. This is progress, but not quite what I need. I need the original client's IP address before the request gets proxied to my application server. Any other ideas? Thanks in advance, Mike. On Fri, Oct 16, 2020 at 3:21 PM DICKEY Rob <rob.dic...@3ds.com> wrote: > ProxyPreserveHost On (it is set off by default) will preserve incoming > Host header. For IP, you could use a custom header using %{REMOTE_ADDR}as > the value. > > > > Best Regards, > > > > Rob DICKEY > > Americas R&D Technical Customer Support Senior Manager > > rob.dic...@3ds.com <rob.dic...@3ds.com> > > *3DS.COM* <http://www.3ds.com/> > > *DS Americas Corp.* | *523 W 6th Street | Los Angeles, CA 90014 | United > States * > > > > *From:* Mike Diehl <mdiehlena...@gmail.com> > *Sent:* Friday, October 16, 2020 11:35 AM > *To:* users@httpd.apache.org > *Subject:* Re: [users@httpd] Sending client's IP address to local proxied > application server. > > > > *EXTERNAL EMAIL :* The sender of this email is external to 3DS. Be wary > of the content and do not open unexpected attachments or links. Original > email starts after the REPORT SPAM banner. > > > > *REPORT THIS EMAIL AS SPAM :* Click here > <https://spam-report.3ds.com/?link=%3ca%20href=%22https://www.mailcontrol.com/sr/-xGF7Es-olfGX2PQPOmvUgofk55GphrML9VyGxAFs3k33OuVtW-WqD8dLOhpeJg67wLZt6gch7BOzrnJmt4uGw==%22%3ehere%3c/a%3e> > (no login or additional action will be requested). > > > > Well, I changed my remoteip.conf file to contain: > > > > RemoteIPHeader X-Forwarded-For > RemoteIPInternalProxy 127.0.0.1 198.101.193.34 > > > > But that didn't change anything. > > > > Any other ideas? > > > > Mike. > > > > On Fri, Oct 16, 2020 at 2:23 PM Eric Covener <cove...@gmail.com> wrote: > > > r...@example.com:/etc/apache2# <r...@example.com:/etc/apache2> cat > conf-enabled/remoteip.conf > > > > RemoteIPHeader X-Forwarded-For > > RemoteIPTrustedProxy 127.0.0.1 198.101.193.34 > > I think these need to be > > https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html#remoteipinternalproxy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > This email and any attachments are intended solely for the use of the > individual or entity to whom it is addressed and may be confidential and/or > privileged. > > If you are not one of the named recipients or have received this email in > error, > > (i) you should not read, disclose, or copy it, > > (ii) please notify sender of your receipt by reply email and delete this > email and all attachments, > > (iii) Dassault Systèmes does not accept or assume any liability or > responsibility for any use of or reliance on this email. > > Please be informed that your personal data are processed according to our > data privacy policy as described on our website. Should you have any > questions related to personal data protection, please contact 3DS Data > Protection Officer at 3ds.compliance-priv...@3ds.com > > > For other languages, go to https://www.3ds.com/terms/email-disclaimer >