IIS反向代理转发授权标头

时间:2012-08-13 17:20:35

标签: iis url-rewriting http-headers iis-7.5 reverse-proxy

我们正在使用IIS Aplication Request路由和URL重写规则来反转对内部Web服务器的代理访问。

当IIS配置了匿名身份验证时,此方法有效,但添加基本身份验证会导致问题。在没有详细了解内部Web服务器的身份验证机制的情况下,我想要做的是 not 将授权头从IIS代理传递到目标Web服务器。

clientIP    proxyIP     HTTP    GET /resource HTTP/1.1
    Cache-Control: max-age=0\r\n
    ...
    Authorization: Basic Base64EncodedCredentials 
    ....
proxyIP     serverIP    HTTP        GET /resource HTTP/1.1
    Cache-Control: max-age=0\r\n
    ...
    Authorization: Basic Base64EncodedCredentials <--need to remove this
    ....

任何提示都将不胜感激!

0 个答案:

没有答案
相关问题