- Support Home >
- Knowledge Base >
- Technical Articles >
- Article Detail
HowTo: Install ArcIMS on sites that use Network Address Translation
| Article ID: | 14653 |
|---|---|
| Software: | ArcIMS 3.0, 3.1, 4.0, 4.0.1, 9.0, 9.1, 9.2, 9.3 |
| Platforms: | N/A |
Summary
With ArcIMS, this becomes an issue if you are serving pages from a machine which is behind the firewall, but is NATed from your external site.
Procedure
- Image map services: Change the Server Output HTTP location to reflect the path that will be resolved from outside the firewall.
For example:
From: http://mymachine/output
To: http://www.esri.com/output
- Java-client Web pages: Modify the default.axl file. The URL paths to each of the services subscribed by this page are contained in the <WORKSPACES> section. Change the URL to be resolvable from outside. For example:
From:<IMAGESERVERWORKSPACE name="ifs_ws-4" url="http://mymachine/servlet/com.esri.esrimap.Esrimap" service="USA" />
To:<IMAGESERVERWORKSPACE name="ifs_ws-4" url="http://www.mywebsite.com/servlet/com.esri.esrimap.Esrimap" service="USA" />
- HTML-client web pages: Modify the ArcIMSParams.js file. In it, two variables are hardcoded with the URL to your MapServices. Locate the following section:
//*********************************************************************
//* parameters set by Designer
//*********************************************************************
var imsURL = 'http://mymachine/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
var imsOVURL = 'http://mymachine/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
Change these variables to point to your external website URL:
var imsURL = 'http://www.mywebsite.com/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
var imsOVURL = 'http://www.mywebsite.com/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
Created: 8/18/2000
Last Modified: 9/2/2008