Problem: Rest 服务目录中的链接指向了内部主机名而不是外部DNS名称
文章编号 : 37169
软件: ArcGIS Server 9.3, 9.3.1, 10
操作系统: Windows 2000, XP, 2003Server, Vista, 2008Server
软件: ArcGIS Server 9.3, 9.3.1, 10
操作系统: Windows 2000, XP, 2003Server, Vista, 2008Server
1 个回复
EsriSupport
赞同来自:
原因: 在 rest.config 文件中的引用没有被更新,以反映这些资源是外部可用的。
解决方法: 下面的步骤细节说明了如何让ArcGIS Server REST 服务目录资源对internet 客户端是可用的。
1、 在Windows Explorer中,导航到ArcGIS Server 实例。缺省,这个文件夹位于c:\inetput\wwwroot\ArcGIS; 然而,这个位置可能依赖配置变化。
2、 导航到REST文件夹,在记事本,或其它的文本编辑器中打开REST.config文件。
3、 在REST.config文件中,替换对本地服务器名的引用为完全合格域名,除了在首个<ServerName>中的引用标签,如下:
<ServerName>INTERNAL HOSTNAME</ServerName>
<SoapUrl>http://EXTERNAL DNS NAME.com/arcgis/services</SoapUrl>
<SoapSslUrl>https://EXTERNAL DNS NAME.com/arcgis/services</SoapSslUrl>
<Identity>
<EncodedString>XyXYXYXYXYXyxyXYXYXyxYXYXYXYXYXYXYXYYXYXYXYXY==</EncodedString>
</Identity>
</GISServer>
<JsApi>
<ArcGIS>http://serverapi.arcgisonline. ... gt%3B
<ArcGISSDK>http://resources.esri.com/arcg ... gt%3B <ArcGISCSS>http://serverapi.arcgisonline. ... gt%3B
<VE>http://dev.virtualearth.net/ma ... gt%3B
<VEExtender>http://serverapi.arcgisonline. ... gt%3B
<VETerms>http://www.microsoft.com/virtu ... gt%3B <ArcGISVESDK>http://resources.esri.com/arcg ... gt%3B
<GMaps>http://maps.google.com/maps%3F ... gt%3B <GMapsExtender>http://serverapi.arcgisonline. ... gt%3B
<GMapsTerms>http://code.google.com/apis/ma ... gt%3B
<ArcGISGMapsSDK>http://resources.esri.com/arcg ... gt%3B
<GMapsKey />
</JsApi>
<ServicesDirectoryHelpUrl>http://EXTERNAL DNS NAME.com/arcgis/SDK/REST/servicesdirectory.html</ServicesDirectoryHelpUrl>
<Cache mode="manual">
<Period>5</Period>
<Time>00:00</Time>
</Cache>
<Compression enabled="true" />
<ApiHelp baseUrl="http://EXTERNAL DNS NAME.com/arcgis/SDK/REST/index.html?">
4、 重启ArcGIS Server Object Manager 服务。
创建时间:2009-09-03
最近更新: 2010-09-15
【原文链接】
http://support.esrichina.com.c ... .html
要回复问题请先登录或注册