ProjectGlobals.pm contains a number of useful global variables. Additional variables with (we think) sensible defaults are in DocDBGlobals.pm. Variables from both files are changed by the user in ProjectGlobals.pm (which is distributed as ProjectGlobals.pm.template). Pay particular attention to the variables listed below.
| $db_name | MySQL database name | |
| $db_host | machine running mysqld | |
| $db_rwuser | MySQL user name for read/write access | |
| $db_rouser | MySQL user name for read only access | |
| $Project | Your project name (BTeV, Beams, etc.) | |
| $ShortProject | The version of your project name used in document IDs. eg. Proj-doc-1-v1 | |
| $file_root | documents will be stored under this directory | |
| $script_root | path to the DocDB cgi scripts | |
| $web_root | web address for documents | |
| $cgi_root | web address for DocDB cgi scripts | |
| $cgi_path | path from server to DocDB cgi scripts | |
| $Wget | wget command - used to retrieve documents | |
| $Tar | tar command | |
| $Unzip | unzip command | |
| $Zip | zip command (optional) | |
| $DBWebMasterEmail | email address of DocDB administrator | |
| $DBWebMasterName | name of DocDB administrator | |
| $Administrator | MySQL DocDB administrator user name | |
| $AuthUserFile | where to find .htpasswd | |
| $MailServer | SMTP mailserver for outgoing email | |
| $htaccess | name of .htaccess file in httpd config file (usually .htaccess) |