Yapp Online Users Guide
Yapp Technical Information

Configuration Parameters
Yapp configuration parameters are contained in a yapp.conf file, which is created by the Install script. The yapp.conf file can only be changed by cfadm. When the bbs command is invoked at the command line or from a script, Yapp searches for this file in the following places (in order):

/etc/yapp.conf
/usr/local/etc/yapp.conf
bbsdir/yapp.conf
~cfadm/yapp.conf
./yapp.conf

This file consists of zero or more lines of the form:
parameter:value

A typical yapp.conf file looks like this:
cfadm:yapp
sysop:sysop
bbsdir:/usr/local/yapp
licensedir:/usr/local/yapp/license
confdir:/usr/local/yapp/confs
userhome:/usr/local/yapp/www/home
userfile:/usr/local/yapp/etc/passwd
passfile:/usr/local/yapp/etc/.htpasswd
maildir:/var/mail
partdir:work

Yapp License Format
The Yapp license is contained in a text file called registered located in the directory specified in the yapp.conf file. A typical license looks like this:

Registered to: Internet Literacy Consultants
16 1600
21 857059001
tSsdZf8rBDs.I4FBpMuZsHJjhd321tams7ZcqBKnrGcfDuM

The license is configured for a specific machine name (i.e. www.matisse.net) and consists of the following format (after the first line, whitespace is not significant):

1st line:
informational, displayed at bbs startup in UNIX and any time you do "display version"
2nd line:
maximum number of simultaneous UNIX users and max WWW hits per day
3rd line:
WWW hits so far today and timestamp of last WWW hit (in seconds since 1970 GMT)
4th line:
Yapp license checksum. If another number exists after the checksum, it is an evaluation or backup license and will expire after a certain date, determined when the license was created.

Yapp Scripting Variables and Separators

Back to: Main Index