Before you start the Slinger web server and begin creating your web pages, you need to determine what directory structure is appropriate, and where you should put your files.
Use these environment variables to configure Slinger:
For example, if HTTPD_ROOT_DOC is defined as index.html, and HTTPD_ROOT_DIR is defined as /usr/www, Slinger appends index.html to /usr/www to build /usr/www/index.html.
Once you've decided on a directory structure, you need to export these environment variables before starting Slinger:
export HTTPD_ROOT_DIR=/usr/local/httpd export HTTPD_ROOT_DOC=index.html
For information on setting environment variables when you log in to your machine, see Configuring Your Environment.