Previous ION Script User's Guide: Configuring ION Script Next

Configuring ION Script for Windows

The program IONScriptConfig.exe is used to specify various default settings, preferences, and file paths for the Windows version of ION Script. To configure ION Script for Windows, do the following:

  1. Run IONScriptConfig.exe. You can access this program from the Windows Start menu under Programs  ITT Visual Information Solutions ION 6.4  ION Script Configuration. This program is located in the products/IONxx/ion_script/bin directory of your IDL installation, where xx is the version of ION.
  2.  

  3. Modify the desired settings on each of the tabs described below. Refer to ION Script Configuration Options for a description of each configuration option.
  4.  

  5. When you have finished making changes, click Apply. The changes will take effect immediately; you do not need to restart Windows.

The Images Tab

The Images tab, shown below, is used to specify default properties for images created with the ION_IMAGE tag. Attributes of the ION_IMAGE tag can be used to override the default values specified on the Images tab on a case-by-case basis. For information on the attributes of ION_IMAGE, see ION_IMAGE.

Figure 1-1: Images Tab

Figure 1-1: Images Tab

The URLs Tab

The URLs tab, shown below, is used to specify the path to the ION Script Image Server and the parser. The Image Server is part of the file ion-i.exe.


Note
During the installation process, you were prompted on the "Web Server Configuration" dialog for your Web server's fully qualified domain name and the proper path to your Web server's CGI executables directory. If you specified these values at that time, these values should already appear on the URLs tab, and you do not need to do anything further on the URLs tab.

Figure 1-2: URLs Tab

Figure 1-2: URLs Tab

If you did not specify this value on the Web Server Configuration dialog during the installation process, the Image Server field will be given a URL of the form:

http://WindowsMachineName/cgi-bin/ion-i.exe  

where WindowsMachineName is the name of your Windows machine, and
/cgi-bin is the path to the CGI executables directory for your Web server. Similarly, for the ION Script Parser URL field, you will see a URL of the form:

http://WindowsMachineName/cgi-bin/ion-p.exe  

If the path to your Web server's CGI directory is different than /cgi-bin, change this to the correct path for all three fields.

Next, change the Windows machine name to the fully qualified domain name of your Web server. For example, if your hostname is myhost and your domain is mydomain.com, you would replace the Windows machine name with myhost.mydomain.com. The Image Server URL would be:

http://myhost.mydomain.com/cgi-bin/ion-i.exe  

The ION Script Parser URL would be:

http://myhost.mydomain.com/cgi-bin/ion-p.exe  
  

 


Note
If you are using Microsoft IIS, the .exe extension must be included in URLs that point to executables. If you get an error informing you that the file or script you requested cannot be found, make sure you are using ion-p.exe instead of ion-p in any URLs in your HTML and ION Script pages, and in the location field of your browser when requesting a URL.

The Files Tab

The Files tab, shown below, is used to specify certain paths, file extensions, and protocols:

Figure 1-3: Files Tab

Figure 1-3: Files Tab

The Format Tab

The Format tab, shown below, is used to specify defaults that affect the way certain text elements are formatted on an ION Script page:

Figure 1-4: Format Tab

Figure 1-4: Format Tab

The Debug Tab

The Debug tab, shown below, is used to specify the name and location of the log file created when DEBUG="TRUE" is specified for the ION_IMAGE or ION_DATA_OUT tag, and the type of error reporting for ION Script syntax errors:

Figure 1-5: Debug Tab

Figure 1-5: Debug Tab

  IDL Online Help (March 06, 2007)