3. The Catalog Directory
Interchange pages are contained in the catalog directory. Each individual catalog has its own base directory. The catalog directory has the following structure by default:
File containing configuration directives for a particular catalog. Configuration settings established in the catalog.cfg directory will not effect any other catalogs running under the version of Interchange you are using. Subcatalogs can have differing information in a file named for that subcatalog.
Directory that will be read when directives are set with the filename notation. For example, the file config/static.pages will be read when the following directive is encountered in the catalog.cfg file.
This directory also contains template information used with the makecat program.
File which contains catalog-specific errors. It is also where any syntax errors in embedded Perl code are shown.
Directory normally used for tracking files, order profiles, and other configuration and log information.
Directory that contains the pages of the catalog. This can be considered to be the "document root" of the catalog. Pages contained therein are called with the path information after the script name. For example:
/cgi-bin/simple/products/gold will call the page in the file pages/products/gold.html.
Directory that contains database source files, including the special Interchange databases shipping.asc, pricing.asc (and other shipping database files).
Directory that contains session files.
The temporary or scratch directory used for various storage reasons, like retired ID numbers, search paging files, sort tests, import temporary files, etc. This is the default set by ScratchDir. It can be redefined to be located on another partition.