简体   繁体   中英

Get original HOST address when the ASP.NET server is behind an ISA server as a reverse proxy

I'd like to know how could I get the original HOST IP when the web server is behind an ISA server acting as a reverse proxy.

Other reverse proxies -like squid- add the "X_FORWARDED_FOR" value to the request header, but ISA server doesn't.

Thanks

I am not familiar with ISA, but with a solution at my employer we had the proxy set up a custom header and we retrieved it from there. Nothing was set by default, we had to specifically request that something was sent in.

If this is not possible on ISA, then you are out of luck.

Cannot get. Use hostname instead of it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM