Webgen (tm) conf file


The conf file is interperted once, early during each run of the Webgen (tm) compiler.

The conf file is a good place to put site-specific definitions of variables and procedures. It is generally assumed that the conf will need to be completely rewritten for each site.

The conf file is a bad place to put stuff that would be good to have around at all sites.

Here is a sample conf file:


# Directory paths
set dwndir	"downloads"

# URLs
set rooturl	".."
set imgurl	"$rooturl/images"
set pgsurl	"$rooturl/pages"
set staticurl	"$rooturl/static"
set confurl     "$rooturl/config"
set dwnurl	"$rooturl/downloads"
set cgiurl	"/cgi-bin"

# Variables that are lists
set listvar(prodName)		1
set listvar(prodPrice)		1
set listvar(prodIdNumber)	1

# Values
set whatsNewTime		[expr 30 * 86400]

ksedgwic@bonsai.com