Index  Up  >>  


The Catalog Directory

MiniVend pages are NOT in normal HTML space. They are contained in the catalog directory. Each individual catalog must have its own base directory. The catalog directory has this structure by default:

catalog.cfg
File containing configuration directives for this catalog. (Subcatalogs have differing information in a file named for the subcatalog.)

config
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 directive

 StaticPage  <static.pages

is encountered in the catalog.cfg file.

This directory also contains template information used with the makecat program.

error.log
File which contains catalog-specific errors. Check this file when something doesn't work right. It is also where any syntax errors in embedded Perl code will be shown.

etc
Directory normally used for tracking files, order profiles, and other configuration and log information.

pages
Directory that contains the pages of your 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 -- i.e. /cgi-bin/simple/products/gold will call the page in the file pages/products/gold.html.

products
Directory containing database source files, including the special MiniVend databases shipping.asc, pricing.asc (and other shipping database files)

session
Directory which contains session files.

tmp
The temporary or scratch directory for various uses like retired ID numbers, search paging files, sort tests, import temporary files, etc. This is the default set by ScratchDir; if you wish you can redefine it to be located on another partition.


Index  Up  >>