Problem: 升级到ArcGIS Server 9.3.1将会重置Rest服务目录,从而阻止反向代理服务器连接

文章编号 : 37024
软件: ArcGIS Server 9.3, 9.3.1
操作系统: Windows 2000, XP, 2003Server, Vista, 2008Server
已邀请:

EsriSupport

赞同来自:

错误信息: ArcGIS Server从9.3或9.3 SP1升级到9.3.1时将会将Rest服务目录中自定义值重置到默认值,这将影响反向代理服务器的使用。
原因: GIS Server和/或Web应用的部署过程将重置'rest.config'文件中的非默认值,而这些值经常是需要自定义的,尤其是通过反向代理服务器使Rest服务目录正确的暴露给用户使用。

解决方法: 需要更改'\Inetpub\wwwroot\ArcGIS\Rest\rest.config'配置文件中的内部服务地址URLs为反向代理URLs。

  1. 在更改 '\Inetpub\wwwroot\ArcGIS\rest\rest.config'配置文件前,拷贝该文件并进行备份
  2. 用文本编辑器打开该配置文件
  3. 做如下更改: <SoapUrl>http://<internal server>/arcgis/services</SoapUrl> <SoapSslUrl>https://<internal server>:443/arcgis/services</SoapSslUrl>.. <ServicesDirectoryHelpUrl>http://<internal server>/arcgis/SDK/REST/servicesdirectory.html</ServicesDirectoryHelpUrl>.. <ApiHelp baseUrl="http://<internal server>/arcgis/SDK/REST/index.html"> 更改为: <SoapUrl>http://<reverse proxy>/arcgis/services</SoapUrl> <SoapSslUrl>https://<reverse proxy>:443/arcgis/services</SoapSslUrl>.. <ServicesDirectoryHelpUrl>http://<reverse proxy>/arcgis/SDK/REST/servicesdirectory.html</ServicesDirectoryHelpUrl>... <ApiHelp baseUrl="http://<reverse proxy>/arcgis/SDK/REST/index.html">
  4. 如例所示: <SoapUrl>http://server1/arcgis/services</SoapUrl> <SoapSslUrl>https://server1:443/arcgis/ser ... gt%3B <ServicesDirectoryHelpUrl>http://server1/arcgis/SDK/REST ... gt%3B <ApiHelp baseUrl="http://server1/arcgis/SDK/REST ... gt%3B 更改成: <SoapUrl>http://reverseproxy.domain.com ... gt%3B <SoapSslUrl>https://reverseproxy.domain.co ... gt%3B <ServicesDirectoryHelpUrl>http://reverseproxy.domain.com ... gt%3B <ApiHelp baseUrl="http://reverseproxy.domain.com ... gt%3B 保存该配置文件,并重启IIS。



创建时间:2009-07-23
最近更新: 2010-06-17


原文链接
http://support.esrichina.com.c ... .html

要回复问题请先登录注册