开发者

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

开发者 https://www.devze.com 2022-12-15 00:32 出处:网络
I\'d like to know how could I get the origin开发者_运维百科al HOST IP when the web server is behind an ISA server acting as a reverse proxy.

I'd like to know how could I get the origin开发者_运维百科al 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号