Configuration of directories/hostname


Once you've copied over all of the application files to the CGI directory on your Webserver, you will need to edit the global-fcns.pl file to configure the base directories for the newsletter system and set the hostname that the e-mails are to appear to come from.

Near the top of the file, you will find three lines that look like:

$INSTALLPATH  = '/usr/local/htdocs/cgi.8080';
$WEBROOT      = '/usr/local/htdocs/html.8080';
$HOSTNAME     = 'localhost';
    
The values of the $INSTALLPATH and $WEBROOT variables need to be edited to match those of your own server. Note that if these values are not set properly, nothing within this application will function properly. You are not required to edit any of the other values appearing near those mentioned above, and it is recommended that they be left with their default values.

The value for the $HOSTNAME variable should be set to the name of the server that you wish to have the e-mail appear to come from. This is important in that any bounced e-mails and user replies will be sent back to this host.