Certain directories and files must be present in your untarred version of AMS in order for it to function properly. The list is as follows:
Directories:
ams under the cgi directory - holds the AMS scripts and most of the files.
ams_db in the ams directory - holds the dbs.
ams_image in the ams directory - holds the images used to display AMS.
Files:
ams-defs.pl - contains all of the needed global definitions for all of the scripts involved with the AMS system.
ams-utils.pl - Contains shared subroutines used by the AMS system.
ams_admin.cgi - The administrative control panel.
ams_init.pl - Initializataion routine used in pre-self-installer versions. More or less obsolete now, but can be used with a manual installation.
ams_shell.pl - The command-line version of the ams front-end - used for serving adbars from within a CGI file or for specifying particular rules.
ams_ssi.cgi - The SSI version of the front-end - used for serving adbars for normal web documents.
ams_stats.cgi - Shows statistics for how many times adbars have been displayed and clicked on.
change_admin.pl - Allows you to change the user name and password used to log into the administrator's control panel (ams_admin.cgi).
configure.tmpl - Template file used by the self-installation script for creating the shared defs file.
INSTALL - Instructions for installing AMS (same as README).
install-UNIX.pl - Installs AMS by prompting you for necessary configuration information, then moving files into the appropriate directories.
README - Instructions for installing AMS (same as INSTALL).