Re: [users@httpd] proxied remote_host how to ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 15.08 19/04/05, you wrote:
On 4/19/05, Ezio Paglia <ezio@xxxxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> given an architecture with an Apache as an internet front-end and several
> application servers in the intranet, managed by the reverse proxy
> mechanism, what is the best, easiest and most standard way to let the
> intranet servers know the original remote host ? Such method would be
> necessary in order to allow applications different behaviours depending on
> the real remote host, otherwise the application servers see all the
> requests coming from the proxy.

Look in the environment variable X_Forwarded_For.

Joshua.

Hi Joshua and all,
thank you.

if the request passes through a chain of proxies what does it happen to such variabile ? In order to leave intact the application on the backup server, could we use a setenv mechanism on the backend server, in order to rewrite the remote_addr variable with the x_forwarded_for variable ?
Ezio.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux