Re: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-30 Thread Yann Ylavic
On Fri, Oct 30, 2020 at 9:04 PM Mike Diehl wrote: > > 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

Re: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-30 Thread Mike Diehl
United > States * > > > > *From:* Mike Diehl > *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 t

RE: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-16 Thread DICKEY Rob
DS.COM <http://www.3ds.com/> [cid:image002.png@01D6A3B6.D2A6F220] DS Americas Corp. | 523 W 6th Street | Los Angeles, CA 90014 | United States From: Mike Diehl Sent: Friday, October 16, 2020 11:35 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Sending client's IP address to l

Re: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-16 Thread Mike Diehl
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 wrote: > > r...@example.com:/etc/apache2# cat

Re: [users@httpd] Sending client's IP address to local proxied application server.

2020-10-16 Thread Eric Covener
> 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

[users@httpd] Sending client's IP address to local proxied application server.

2020-10-16 Thread Mike Diehl
Hi all, I've got an application server, written in Perl Dancer2, that needs to get access to the client's actual IP address. But instead, it's getting the IP address of the apache server. Both the Apache and application server are running on the same hardware. Here is how I have the vhost