MiniVend has multiple catalog capability, and therefore breaks the
configuration files into two pieces. One is global (minivend.cfg
) and affects every catalog running under it. The other (catalog.cfg
) is specific to an individual catalog, and has no effect on other
catalogs.
The global minivend.cfg
file is located in the main MiniVend directory, and has only a few
server-wide configuration parameters. The most important is the Catalog directive, which defines the catalogs will be created at server startup.
The Catalog directive is often set up by the makecat
program, which can be used to configure a catalog.
Here is an example Catalog directive:
Catalog simple /home/catalogs/simple /cgi-bin/simple /secure-bin/simple
There may also be SubCatalog directives:
SubCatalog easy simple /home/catalogs/simple /cgi-bin/easy
easy.cfg
.
The remaining parameters are as in the Catalog directive.
Additional minivend.cfg parameters set up administrative parameters that are catalog wide -- see Server Configuration File for details on each of these.
Each catalog can be completely independent, with different databases -- or catalogs can share any or all pages, databases, and session files. This means that several catalogs can share the same information, allowing ``virtual malls''.