|
ION Script User's Guide: Configuring ION Script |
|
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:
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.
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.
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. |
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, shown below, is used to specify certain paths, file extensions, and protocols:
The Format tab, shown below, is used to specify defaults that affect the way certain text elements are formatted on an ION Script page:
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:
IDL Online Help (March 06, 2007)