我对这两个服务器变量的区别感到困惑.检查IIS文档,它说:
@H_403_2@HTTP_HOST
@H_403_2@Returns the name of the Web server.@H_403_2@服务器名称
This may or may not be the same as
SERVER_NAME depending on type of name
resolution you are using on your Web
server (IP address,host header).
@H_403_2@The server’s host name,DNS alias,or@H_403_2@有人可以提供一些例子,如何可以不同? @H_403_2@我们在我们的网络农场中有2个IIS Web服务器,每个都有2个网站(当然,每个服务器相同). @H_403_2@对于每个网站都有约5个左右的绑定. @H_403_2@那么价值观是什么?有什么不同?
IP address as it would appear in
self-referencing URLs.