## ## defs.wh ## ## This is included in all source files and defines ## various constants which guide pathnames, contacts, ## and the like. This is a very important site-specific ## file, as this tells the software where to find files ## and send email. ## ## This doesn't emit *any* html code. ## # ### The security model is very important to get right. ### One fashion (ScriptAlias) uses ScriptAlias directives in the web server ### configuration file to enumerate directories containing programs. ### Under this model, the web programs are assumed to run as the web ### server, and there is a distict _HOME-OWNER_ as well. It is best ### if these can be in the same group. Typical file modes will be ### 0660 to allow the owner and the group have equal access to all files. ### Another model (SUExec) has all programs running as the owner of the ### programs. This typically requires all programs to have a .cgi ### extension (which isn't [yet] the case with cvoracle). The ### password files must be readable by the web server, so typical ### modes for most files is 0600, and the modes for the password ### files is 0604. ### ### See the notes at the start of the permissions program which explains ### these definitions in some detail. #define _SECURITY-MODEL_ UserCGI #define _ALLOW-WORLD-READ_ 1 #define _ALLOW-GROUP-READ_ 1 # ### ### Site configuration ### ### The following entries can be configured for each of the different ### installation of the application. ### # # _HOME-* definitions give the basic layout of the application. # _HOME-FS_ need not be part of the web filesystem (_HOME-HTTP_), # however if you put it there everything will be in one place. #define _HOME-HOST_ mordred.ao.com #define _HOME-URL_ http://_HOME-HOST_/~regan/bugreport #define _HOME-BIN_ http://_HOME-HOST_/~regan/bugreport/bin #define _HOME-HTTP_ /home/regan/public_html/bugreport ## #define _HOME-FS_ _HOME-HTTP_/Data #define _HOME-FS_ /dev/null #define _HOME-OWNER_ regan #define _HOME-GROUP_ users #define _HOME-WWW_ nobody # # _EMAIL-* is the contact information of the administrator of this application. # The _EMAIL-ADDR_ is an email address, and _EMAIL-NAME_ is a name to display. # These can represent mailing lists or titles rather than specific people's # accounts if desired. #define _EMAIL-ADDR_ regan@ao.com #define _EMAIL-NAME_ Dave Regan # # The _MONITOR-* address is used to send copies of all outgoing messages. # This can be used to monitor the quality of the answers, or to be logged # as the site desired. The definition can be left blank, and copies will # not be sent. This is not used by all applications. #define _MONITOR-ADDR_ _EMAIL-ADDR_ # ### ### Application specific information ### ### Definitions here are used for specific applications. ### # _ROBOT-* is the contact information for the robot. # _ROBOT-ADDR_ is used for applications which receive email as # well as have a web interface, and is the address people can # send mail to in order to talk to the program. # _ROBOT-* is the contact information for the robot #define _ROBOT-ADDR_ _EMAIL-ADDR_ #define _APPL-ERRORS_ _EMAIL-ADDR_ # # The following set of definitions control various options # about a particular installation. # Use full email address on index page (or not) #define _FULL-ADDR_ 0 # ### ### Presentation information ### ### This information should be made correct. However, if it ### is incorrect then the pages may simply not look as you'd ### wish. ### # The images are used for standard pages. This may undergo some flux. #define _IMAGE-SMALLR_ _HOME-URL_/Images/smalllogo.gif #define _IMAGE-SMALL_ _HOME-URL_/Images/smalllogo.gif #define _IMAGE-LARGE_ _HOME-URL_/Images/cornvalley.green.jpg #define _IMAGE-BANNER_ _HOME-URL_/Images/cornvalley.green.jpg # Use quotes on strings so that additional attributes can be included. #define _LOGO-IMAGE_ "_HOME-URL_/Images/cornvalley.green.jpg" alt=CornValley #define _LOGO-URL_ "http://mordred.ao.com/" # # Define a default color. #define _BGCOLOR_ #FFFFFF #define _VLINK-COLOR_ #339933 #define _LINK-COLOR_ #339933 #define _BG-PAGE-COLOR_ bgcolor="_BGCOLOR_" #define _BG-VLINK-COLOR_ vlink="_VLINK-COLOR_" #define _BG-LINK-COLOR_ link="_LINK-COLOR_" ##define _BG-TABLE-COLOR_ #339933 #define _BG-TABLE-COLOR_ #00CCFF # ##define _TABLE-HEADER-SPACE_
#define _TABLE-HEADER-SPACE_ #define _TABLE-HEADER-FONT_ +2 #define _TABLE-LEFTSIDE-WIDTH_ 90 #define _TABLE-SIDEBAR-IMAGE-LINK_ http://mordred.ao.com/admin #define _TABLE-SIDEBAR-IMAGE_ http://mordred.ao.com/images/blackbal.gif #define _TABLE-SIDEBAR-IMAGE-WIDTH_ width=10 #define _TABLE-SIDEBAR-IMAGE-HEIGHT_ height=10 #define _TABLE-SIDEBAR-IMAGE-ALIGN_ ALIGN=middle #define _TABLE-SIDEBAR-IMAGE-ALT_ alt="Cornvalley" #define _TABLE-SIDEBAR-IMAGE-BORDER_ border="0" # #define _TABLE-BOTTOM-IMAGE-LINK_ http://mordred.ao.com #define _TABLE-BOTTOM-IMAGE_ http://mordred.ao.com/images/cornvalley.green.jpg #define _TABLE-BOTTOM-IMAGE-WIDTH_ width=80 #define _TABLE-BOTTOM-IMAGE-HEIGHT_ height=80 #define _TABLE-BOTTOM-IMAGE-ALIGN_ ALIGN=middle #define _TABLE-BOTTOM-IMAGE-ALT_ alt="Cornvalley " #define _TABLE-BOTTOM-IMAGE-BORDER_ border="0" # #define _TABLE-TOP-IMAGE-LINK_ http://mordred.ao.com #define _TABLE-TOP-IMAGE_ http://mordred.ao.com/images/cornvalley.green.jpg #define _TABLE-TOP-IMAGE-WIDTH_ width=80 #define _TABLE-TOP-IMAGE-HEIGHT_ height=80 #define _TABLE-TOP-IMAGE-ALIGN_ ALIGN=middle #define _TABLE-TOP-IMAGE-ALT_ alt="Cornvalley " #define _TABLE-TOP-IMAGE-BORDER_ border="0" # #define _TABLE-ROW1-CELL1-COLOR_ BGCOLOR="_BG-TABLE-COLOR_" # ##define _TABLE-ROW1-CELL1-IMAGE
#define _TABLE-ROW1-CELL1-IMAGE # #define _NAVBAR-ALIGN_ align=center #define _NAVBAR-BORDER_ border=1 #define _NAVBAR-SPACING_ cellspacing=3 #define _NAVBAR-PADDING_ cellpadding=3 #define _NAVBAR-CELL-COLOR_ bgcolor="#CCCCCC" # ### ### The rest of this file will probably not change for most ### installations. Of course, where these variables are used ### in the various *.wc files (and elsewhere) may change. ### # # Number of columns for a