WWWTar - Configuration

All configuration for WWWTar is done at compile time. You must edit the file wwwtar_config.h and change the #defines. These are as follows:

WWWTAR_CGIBIN
Where WWWTar will be installed. This is so that WWWTar can reference itself inside a URL.

WWWTAR_DOC_HEADER
This is defined as a string to be used as an HTML header for all tar file listings and all text files. You could use it to display your organisation's logo or some introductory text.

WWWTAR_FOOTER
Document footer placed at the bottom of each WWWTar listing.

WWWTAR_ROOT
The root of the tar file tree. Note that this is not necessarily the same as the root of your web server tree. All the tar files you want to allow access to must be under this tree.

WWWTAR_MAX_FILE_SIZE
The maximum size, in bytes, you allow to be viewed. This allows you to set a limit on the size of tar files that are processed by the server - mainly to cut down on the load.

Back up to index, or on to Making tar files available.