[users@httpd] Get original user host name through reverse proxy

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

 



Hello all,

I have Apache running on an externally accessible IP
on port 80 along with mod_proxy installed. I have it
properly forwarding to an internal machine on the LAN
running IIS.

The issue that I'm hoping to resolve is that when I
check the user host name field in the request, it
returns the IP address of the Apache server, instead
of the original user that requested the proxied page.
Is there any way to not have Apache act "properly" in
this case and just forward on the original requestor?

Here is my virtual host configuration (domain names
obfuscated):

<VirtualHost *>
    ServerName www.myserver.com
    ProxyPass / http://internal.myserver.com/
    ProxyPassReverse / http://internal.myserver.com/
    HostnameLookups On
    ErrorLog /local/logs/myserver-error_log
    CustomLog /local/logs/myserver-access_log combined
    Options FollowSymLinks ExecCGI Includes
    AddOutputFilter Includes .html
</VirtualHost>

Thank you!
Kevin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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