wacs.cfg: Server Section

Table 9.1. Configuration: Server

VariableDescriptionTypical Value
baseurl

The "base" URL of your web server, ie the top level page

http://www.example.com/
cgiurl

The URL of your cgi-bin directory on your web server. If you intend to use subdirectories for Wacs within the cgi-bin directory, include that here.

http://www.example.com/cgi-bin/
iconurl

This where the attribute and rating icons are to be found on your web server. These are the glyphs and artwork components. Not to be confused with the model "headshot" icons, which are expected to be in the icons sub-directory of the Wacs document tree.

http://www.example.com/wacs/glyphs/
siteurl

This is the URL for the site-specific web accessible files go - this will include model headshots, additional icons and any other site specific help files. In many cases this may be set to the same as wacsurl below, but it should be changed if you either want to move your local web components out of the /usr/share/wacs area or are hosting multiple sites on the same server.

http://www.example.com/mysite/
wacsurl

This is the URL for the Wacs document and stylesheet tree itself, ie where the htmlbones index.php and wacs css stylesheets go.

http://www.example.com/wacs/
directurl

This is the URL for getting to the set icons *ONLY* if the usedirect option is to be supported. Usedirect causes the web pages generated by wacs applications to include an actual URL for the set icons rather than a reference to the wacsimg cgi program.

http://www.example.com/wacs/iconcache/
wacsmain

This is the URL for the Wacs main menu which would typically be either a custom front page, for instance index.php in the wacsdirectory or the Wacs front page program wacsfp. NB: this is a complete URL and does not have to end in a slash for appending options.

http://www.example.com/cgi-bin/wacsfp
wacsallm

This is the URL that the All Models link should go to. On a site with a small number of models defined, this will probably be just wacsmodelthumbs on it's own; as more models are added, that may just take too long and you may want to set it to be an Alphabetic search like wacsmodelthumbs/A=A or some other criteria.

http://www.example.com/cgi-bin/wacsmodelthumbs/A=A