Customer Service | Training | Contact Us
Welcome!
Login
Search Options   products areas display

Which products should be considered?

All Products

ArcCAD
ArcEditor
ArcExplorer
ArcGIS Engine
ArcGIS Explorer
ArcGIS Image Server
ArcGIS Mobile
ArcGIS Server
ArcIMS
ArcInfo Desktop
ArcInfo Workstation
ArcLogistics Route
ArcPad
ArcPad Application Builder
ArcReader
ArcSDE
ArcView
ArcView 3.x
ArcWeb Services APIs
ArcWeb Toolbar for ArcGIS
Atlas GIS
BusinessMap
BusinessMap Pro
GIS Portal Toolkit
Job Tracking for ArcGIS
Maplex
MapObjects -- Java
MapObjects -- Windows
MapObjects IMS
MapObjects LT
MapStudio
Military Overlay Editor
NetEngine
PC ARC/INFO & DAK
PLTS
RouteMap
RouteMap IMS
SDE
Tracking Server

    Remember these settings for each visit More info
You are here:
Browse Path: ArcIMS > Installation > General

Technical Article   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

Network Address Translation (NAT) provides Web sites the ability to have one address visible to the internet, while other machines behind the firewall provide all the Web content. For instance, when you visit the site http://www.esri.com, you are actually receiving the html pages from another machine behind ESRI’s firewall, but as far as your browser is concerned, it receives the information from www.esri.com.

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

This website's graphical display is now viewable only with W3C standards-compliant browsers, but the content is accessible to all browsers and Internet devices. View our supported browser matrix for more information on our website display.