##
## 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_ www.ao.com
#define _HOME-URL_ http://_HOME-HOST_/~regan/faq
#define _HOME-BIN_ http://_HOME-HOST_/~regan/faq/bin
#define _HOME-HTTP_ /export/home/regan/public_html/faq
# #define _HOME-FS_ /export/home/regan/public_html/faq/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_ FAQ Author
#
###
### 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.
#define _ROBOT-ADDR_ regan@ao.com
#define _APPL-ERRORS_ regan@ao.com
#
###
### 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://www.peak.org/cornvalley/"
#
# 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://www.peak.org/admin
#define _TABLE-SIDEBAR-IMAGE_ http://www.peak.org/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="PEAK TASKS"
#define _TABLE-SIDEBAR-IMAGE-BORDER_ border="0"
#
#define _TABLE-BOTTOM-IMAGE-LINK_ http://www.peak.org
#define _TABLE-BOTTOM-IMAGE_ http://www.peak.org/images/peak.pam2.gif
#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="PEAK "
#define _TABLE-BOTTOM-IMAGE-BORDER_ border="0"
#
#define _TABLE-TOP-IMAGE-LINK_ http://www.peak.org
#define _TABLE-TOP-IMAGE_ http://www.peak.org/images/peak.pam2.gif
#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="PEAK "
#define _TABLE-TOP-IMAGE-BORDER_ border="0"
#
#define _TABLE-ROW1-CELL1-COLOR_ BGCOLOR="_BG-TABLE-COLOR_"
#
##define _TABLE-ROW1-CELL1-IMAGE
# # The user needs to define _STITLE_ before calling _SEC_ # The _SEC_ macro puts in a section title in HTML documents #pragma nodefine #define _SEC_