ContentsIndexPreviousNext

3.4 Creating a Server Configuration File

The server configuration file, called "server.cfg" throughout this book, tells AcuConnect the location of the "AcuAccess" file, defines the default user, and supplies other information. If you have stored "AcuAccess" in the default /etc or \etc directory on your server hard drive, this file is completely optional.

When shipped, AcuConnect comes with a sample "server.cfg" file. If you choose to use a "server.cfg" file, you can use the sample file as is (complete with its default values) or you can modify the file to your specification. By default, AcuConnect looks for "server.cfg" in /etc or \etc on the server. If the file is given another name, or located in another directory, the full location and name of the file must be specified with the "-c" option when you start AcuConnect. See the "-start" option in Appendix A.

The server configuration file can contain any or all of the following variables:

Name
Default value
ACCESS-FILE
/etc/AcuAccess
DEFAULT-USER
undefined
PASSWORD-ATTEMPTS
3
SERVER-IP

SERVER-NAME

SERVER-PORT
6996
SERVER-START-port #

Note that values assigned to variables contained in the server configuration file are applied solely to operations performed by AcuConnect. To gain a context for using these variables, read the section titled, "AcuConnect Connection Logic" at the end of this chapter.

More:

3.4.1 ACCESS-FILE

3.4.2 DEFAULT-USER

3.4.3 PASSWORD-ATTEMPTS

3.4.4 SERVER-IP

3.4.5 SERVER-NAME

3.4.6 SERVER-PORT

3.4.7 SERVER-START-port #

3.4.8 Sample "server.cfg" file