Update of /cvsroot/aimmath/AIM/WEB-INF/maple
In directory sc8-pr-cvs1:/tmp/cvs-serv1517/WEB-INF/maple
Modified Files:
Tag: windows
ManualConfig.dist
Added Files:
Tag: windows
AutoConf.mws
Removed Files:
Tag: windows
AutoConf.mpl
Log Message:
Configuration now through Maple worksheet
--- NEW FILE: AutoConf.mws ---
{VERSION 5 0 "IBM INTEL NT" "5.0" }
{USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0
1 0 0 0 0 1 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0
0 0 1 }{CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 1 }
{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2
2 2 1 1 1 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Text Output" -1 6
1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 2 2 2 2 2 1 2 1 3 1 }1 1
0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Maple Output" -1 11 1 {CSTYLE "" -1
-1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }3 3 0 0 0 0 1 0 1 0 2 2
0 1 }}
{SECT 0 {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 27212 "# @(#)$Id: AutoC
onf.mpl,v 1.3.2.1 2003/08/26 08:27:43 gustav_delius Exp $\n\n# Copyrig
ht (C) 2003 Neil Strickland\n# Distributed without warranty under the \+
GPL - see README for details\n\nConfig := table([]):\n\n# This workshe
et will configure your AiM system. Mostly this will be\n# done automat
ically. However you will want to \n# change are the first three lines \+
starting with Config['..., \n# following the explanations given.\n\n##
####################################################################\n
# The SMTP server that AiM should use for sending mail.\n# You will ce
rtainly want to change this setting.\nConfig['SMTPServer'] := \"smtp.y
ork.ac.uk\":\n\n######################################################
################\n# The fully qualified host name of the server (eg ai
m.shef.ac.uk).\n# For initial testing purposes, you can set this to \"
localhost\". This\n# will allow you to access AiM that it is running \+
on, but not from any\n# other machine. \nConfig['HostName'] := \"loca
lhost\":\n\n##########################################################
############\n# The name of the subdirectory of the Tomcat\\webapps di
rectory into \n# which you have copied the AiM files\nConfig['TomcatCo
ntext'] := \"beta1\":\n\n# You probably won't need to make any changes
below, unless you get an\n# error message after executing the workshe
et.\n\n# Now simply press Enter to execute the worksheet.\n\n#########
#############################################################\n# The a
bsolute path to the BLAT program, used for sending email\n# Config['BL
ATProgram'] := \"C:\\\\Tomcat\\\\webapps\\\\AiM\\\\bin\\\\blat\\\\blat
.exe\":\n\n###########################################################
###########\n# The absolute path to the kill program (used to kill pro
cesses on this OS).\n# Config['KillProgram'] := \"C:\\\\Tomcat\\\\weba
pps\\\\AiM\\\\bin\\\\Process\\\\Process.exe\":\n\n####################
##################################################\n# The number of 'R
ecent Requests' to show on the Alice Monitor page\n# Config['AliceHist
orySize'] := 20:\n\n##################################################
####################\n# The time limits placed on Maple processes by t
he Alice servlet. \n# Processes which take longer than the time limit \+
are terminated.\n# The AdminTimeLimit restricts the time allowed for A
dministrative\n# commands. The StudentTimeLimit is the restriction on \+
all other \n# commands. Generally the StudentTimeLimit should be short
er than\n# the admisitrative time limit. Both values are integers whic
h specify \n# the time limit in milliseconds.\n# Config['StudentTimeLi
mit'] := 60000: # one minute\n# Config['AdminTimeLimit'] := 1200000: \+
# twenty minutes\n\n#################################################
#####################\n# The maximum number of maple processes that ca
n be running at the same\n# time on this machine.\n# Config['MaxMapleP
rocesses'] := 8:\n\n##################################################
####################\n# The top directory for the Java distribution. \+
\n# Config['JavaHome'] := \"C:\\\\Program Files\\\\Java\\\\j2re1.4.2\"
:\n\n\n###############################################################
#######\n# The top directory for the Tomcat distribution. \n# Config['
CatalinaHome'] := \"C:\\\\Tomcat\":\n\n\n#############################
#########################################\n# The absolute path to the \+
maple program. \n# Config['MapleProgram'] := \"C:\\\\Program Files
\\\\Maple 8\\\\bin.win\\\\cmaple8.exe\":\n\n\n########################
##############################################\n# The absolute path to
the tth program (used to convert LaTeX to HTML).\n# Config['TtHProgra
m'] := \"C:\\\\Tomcat\\\\webapps\\\\AiM\\\\bin\\\\tth\\\\tth.exe\":\n
\n\n##################################################################
####\n# The directory where the servlet should put temporary copies of
uploaded\n# files. (The Maple part of the system will delete them or
move them to\n# a more permanent home moments later.) \n# Config['Te
mpDir'] := \"C:\\\\WINDOWS\\\\Temp\":\n\n\n###########################
###########################################\n# The maximum allowed siz
e for uploaded files, in bytes. The default is\n# ten megabytes.\n# C
onfig['MaxPostSize'] := 10485760:\n\n\n###############################
#######################################\n# The number of the port on w
hich Tomcat should listen. By default\n# this is 8080. For any port o
ther than 80, the\n# number must be included explicitly in URL's (for \+
example, \n# http://allserv.rug.ac.be:8080). \n# Config['TomcatPort'] \+
:= 8080:\n\n\n\n######################################################
################\n# In principle this allows you to choose the languag
e in which AiM's\n# messages are presented. The required mechanisms a
re in place but \n# as yet there are no tables of translated messages.
\n# Config['Locale'] := \"en\":\n\n\n#################################
#####################################\n# Config['ShowToolBars'] := tru
e:\n# true if the administrator's browser windows should have a full s
et of\n# toolbars; false if they should be omitted to save space.\n\n
\n####################################################################
##\n# The name of the time zone, and the number of SECONDS ahead of GM
T.\n# Note that these are separate variables, not fields in the Config
\n# table.\n#\n# The handling of summer time may not be correct in Eur
ope, and is\n# certainly incorrect in the southern hemisphere. It is \+
recommended\n# that you adjust manually for this. \n#\n# `Date/LocalT
imeZoneName` := \"GMT\":\n# `Date/LocalTimeZoneOffset` := 0:\n\n\n##
####################################################################\n
######################################################################
\n# You can change the following fields if you dare, but you should\n#
read the source code first and probably ask for advice.\n# Config['Ai
mDir']\n# Config['LastRequestFile']\n# Config['Locale']\n# Config['Log
Dir']\n# Config['MapleInitOptions']\n# Config['MapleVersion']\n# Confi
g['OperatingSystem']\n# Config['RootDir']\n# Config['ServletLogFile']
\n# Config['DocumentURL']\n# Config['ServletURL']\n# Config['WEBINFDir
']\n# Config['WebAppDir']\n# Config['WebDir']\n\n\n###################
###################################################\n\n\nprintf(\"AIM \+
will now try to configure your system automatically.\\n\"):\n\nread(\"
Util0.mpl\"):\nread(\"OS0.mpl\"):\n\nif (os_os = \"DOS\") then\n setca
se := util_tolowercase:\nelse\n setcase := proc(s) s; end:\nfi:\n\nosn
ame1 := proc()\n if (nargs = 0) then\n NULL;\n else\n os_osname(args
)\n fi;\nend:\n\nunassign('`Date/LocalTimeZoneName`'):\nunassign('`Dat
e/LocalTimeZoneOffset`'):\n\np := proc() printf(args); end:\n\nif (waf
fle = true) then\n q := eval(p):\nelse\n q := proc() 1; end:\nfi:\n\ns
etconfig :=\n# KM\n# DIST proc(k::name,v::\{integer,string,boolean\})
\n proc(k::name,v::\{numeric,string,boolean\})\n# END KM\n # Set Conf
ig[k] to v unless Config[k] is already defined and\n # has the same t
ype as v or is NULL.\n global Config;\n\n if member([k],[indices(Con
fig)]) then\n if not(type([Config[k]],[whattype(v)])) and Config[k] \+
<> NULL then\n q(\"Config[%A] was set manually to %A\\n\",k,Config[
k]);\n q(\"This has the wrong type and is being overridden by the d
efault,\\n\"):\n q(\"which is %A.\\n\\n\",v):\n Config[k] := v:
\n fi:\n else\n Config[k] := v:\n fi:\n end:\n\n################
######################################################\n\n# Determine \+
operating system and Maple version number\n\nprintf(\"%s%s\\n\",os_vnu
mmsg,os_osmsg):\n\nif (os_vnum = 0) then stop; fi:\n\nConfig['MapleVer
sion'] := os_vnum:\nConfig['OperatingSystem'] := os_os:\n\n########
##############################################################\n\n# De
fine some functions to access the file system\n\nstrip := proc(s::stri
ng,t::string)\n if length(s) >= length(t) and\n substring(s,-length
(t) .. -1) = t then\n RETURN(substring(s,1..(-length(t)-1)));\n else
\n RETURN(NULL):\n fi:\nend:\n\n\n###################################
###################################\n\n\npath := getenv(\"PATH\"):\nif
path = NULL then\n path := []: \n q(\"Execution path is empty\\n\"):
\nelse \n path := [os_pathsplit(path)]:\n q(\"Execution path is %A\\n
\",path):\nfi:\n\nlook_for_dir :=\n proc(target::string)\n local msg,
checks,places,ans,newdirs,l,r,c,d,d1,\n place,x,y,m,prog,progdi
r,ok,found,location;\n global problems;\n\n p(\"\\nLooking for %s\\n
\",target):\n\n found := false:\n location := NULL:\n\n checks,plac
es :=\n selectremove(e -> evalb(lhs(e) = \"Check\"),[args[2..-1]]):
\n \n checks := map(rhs,checks):\n\n ans := NULL;\n newdirs := []:
\n\n for place in places do\n l := lhs(place):\n r := rhs(place):
\n newdirs := NULL:\n if l = \"Conf\" then\n if member([r],[ind
ices(Config)]) then\n d := Config[r];\n if type([d],[string]) \+
then\n newdirs := [setcase(d)];\n q(\"Config['%a'] was set m
anually to %a\\n\",r,d):\n else\n q(\"Config['%a'] was set to
%A,\\n which is not a string\\n\",\n r,d):\n fi:\n else
\n q(\"Config['%a'] is not set\\n\",r):\n fi:\n elif l = \"En
v\" then\n newdirs := [getenv(r)]:\n if newdirs = [] then\n \+
q(\"Environment variable %s is not set\\n\",r):\n else\n q(\"En
vironment variable %s is set to %s\\n\",r,op(newdirs)):\n fi:\n e
lif l = \"Def\" then\n d := r[1]:\n q(\"Checking default locatio
n %s%s%s* ...\",d,os_pathsep,r[2]):\n if r[1] = \"\" or r[1] = \"c:
\" or r[1] = \"C:\" then\n d1 := cat(d,\"/\"):\n else\n d1 \+
:= d;\n fi:\n if (os_direxists(d1)) then\n newdirs := map(se
tcase,os_listfiles(d1)):\n newdirs := select(util_startswith,newdi
rs,setcase(r[2])):\n newdirs := map((x,y) -> os_osname(cat(y,\"/\"
,x)),newdirs,d):\n newdirs := select(os_direxists,newdirs):\n \+
if newdirs = [] then\n q(\"not found\\n\"):\n fi:\n else\n
q(\"directory does not exist.\\n\"):\n fi:\n elif l = \"Path
\" then\n q(\"Checking the path for executables like *%s%s ...\",os
_pathsep,r):\n progdir,prog := op(util_splitfilename(r)):\n if o
s_os = \"Linux\" then\n d := util_striptrailspaces(os_system0(\"wh
ich %a\",prog)):\n if util_endswith(d,r) then\n d := substrin
g(d,1..-length(r)-1):\n newdirs := [d]:\n fi:\n else\n \+
newdirs := map(setcase,select(util_endswith,path,progdir)):\n new
dirs :=\n select((x,y) -> os_fileexists(cat(x,\"/\",y)),newdirs,p
rog):\n newdirs := map((x,m) -> substring(x,1..-m-1),newdirs,lengt
h(r)):\n fi:\n if newdirs = [] then\n q(\"not found\\n\"):\n
fi:\n fi:\n\n for d in newdirs do\n q(\"trying %s ... \",d)
:\n if os_direxists(d) then\n q(\"exists ... \"):\n ok := t
rue:\n for c in checks do\n if not(os_fileexists(cat(d,\"/\",
c))) then\n ok := false:\n break:\n fi:\n od:\n \+
if ( ok ) then\n q(\" OK\\n\"):\n p(\"%s found at %s\\n\"
,target,d):\n found := true:\n location := d:\n if (tes
tmode <> true) then\n RETURN(d):\n fi:\n else\n q(
\" not OK (does not contain %s)\\n\",c):\n fi:\n fi:\n od:\n \+
od:\n if (found <> true) then\n p(\"Could not find %s\\n\",target)
:\n problems := true:\n fi:\n RETURN(location):\n end:\n \n#######
###########################################\n\nlook_for_prog :=\n proc
(target::string)\n local msg,checks,places,ans,l,r,c,d,place,x,y,m,f,
ok,e,cmd,location;\n global problems;\n\n p(\"\\nLooking for %s\\n\"
,target):\n location := NULL:\n\n checks,places :=\n selectremove(
e -> evalb(lhs(e) = \"Check\"),[args[2..-1]]):\n \n checks := map(rh
s,checks):\n\n ans := NULL;\n\n for place in places do\n l := lhs(
place):\n r := rhs(place):\n f := NULL:\n if l = \"Conf\" then\n
if member([r],[indices(Config)]) then\n d := Config[r];\n \+
if type([d],[string]) then\n f := d;\n q(\"Config['%a'] was \+
set manually to %a\\n\",r,d):\n else\n q(\"Config['%a'] was s
et to %A,\\n which is not a string\\n\",\n r,d):\n fi:\n \+
else\n q(\"Config['%a'] is not set\\n\",r):\n fi:\n elif l =
\"Def\" then\n f := r:\n if os_fileexists(f) then\n q(\"Fou
nd at default location %s\\n\",f)\n else\n q(\"Nothing in defau
lt location %s\\n\",f):\n f := NULL;\n fi:\n elif l = \"Path
\" then\n q(\"Checking the path for executables like *%s%s ...\",os
_pathsep,r):\n if os_os = \"Linux\" then\n d := util_striptrail
spaces(os_system0(\"which %a\",r)):\n if os_fileexists(d) then\n \+
f := d: \n q(\"found at %s\\n\",f):\n else\n q(\"not
found\\n\"):\n fi:\n else\n d := map((x,y) -> cat(x,\"/\",
y),path,r): \n d := select(os_fileexists,d):\n if d <> [] then
\n f := d[1]: \n q(\"found at %s\\n\",f):\n else\n \+
q(\"not found\\n\"):\n f := NULL;\n fi:\n fi:\n fi:\n\n
if f <> NULL then\n f := os_osname(f):\n q(\"Trying %s ... \"
,f):\n if os_fileexists(f) then\n q(\"exists ... \"):\n ok \+
:= true:\n for c in checks do\n cmd := cat(\"\\\"\",f,\"\\\" \+
\",c[1]);\n e := traperror(os_system(cmd)):\n if e = lasterr
or then\n q(\"\\nNot OK : error while executing %a : %s\\n\",cmd
,e):\n elif SearchText(c[2],e) = 0 then\n q(\"\\nNot OK : '
%s %s' does not produce '%s' in the output.\\n\",\n f,c[1],c[2
]):\n if length(e) > 300 then e := cat(substring(e,1..300),\"...
\"): fi:\n q(\"Output was: \\n%s\\n\\n\",e):\n ok := false
;\n break:\n fi:\n od:\n if ( ok ) then\n q(\"
OK\\n\"):\n p(\"%s found at %s\\n\",target,f):\n location :
= f:\n if (testmode <> true) then RETURN(f): fi:\n else\n \+
q(\"Not OK\\n\"):\n fi:\n else\n q(\"does not exist.\\n\"
):\n fi:\n fi:\n od:\n if (location = NULL) then\n p(\"Could \+
not find %s\\n\",target):\n problems := true:\n fi:\n RETURN(locat
ion):\n end:\n\nproblems := false;\n\n################################
######################################\n\n# Look for Java\n\n# Config[
'JavaHome']\n# JAVA_HOME in the environment\n# Defaults: Linux: /usr/j
ava/jdk*, /usr/local/jdk*\n# DOS: c:\\java\\jdk*, c:\\jdk*\n
# double parent of java executable (try 'where', or PATH)\n#\n# Check:
should contain file bin/java\n\nif os_os = \"Linux\" then\n Config['J
avaHome'] :=\n look_for_dir(\n \"Java\",\n \"Conf\" = 'JavaHome',\n
\"Env\" = \"JAVA_HOME\",\n \"Def\" = [\"/usr/java\",\"jdk\"],\n
\"Def\" = [\"/usr/local\",\"jdk\"],\n \"Path\" = \"bin/java\",\n
\"Check\" = \"bin/java\"\n ):\nelse\n Config['JavaHome'] :=\n osname
1(look_for_dir(\n \"Java\",\n \"Conf\" = 'JavaHome',\n \"Env\" =
\"JAVA_HOME\",\n \"Def\" = [\"C:\\\\java\",\"jdk\"],\n \"Def\" \+
= [\"C:\\\\java\",\"j2\"],\n \"Def\" = [\"C:\",\"jdk\"],\n \"Def\"
= [\"C:\",\"j2\"],\n \"Def\" = [\"C:\\\\Program Files\\\\java\",
\"jdk\"],\n \"Def\" = [\"C:\\\\Program Files\\\\java\",\"j2\"],\n \+
\"Def\" = [\"C:\\\\Program Files\",\"jdk\"],\n \"Def\" = [\"C:\\
\\Program Files\",\"j2\"],\n \"Path\" = \"bin/java.exe\",\n \"Check
\" = \"bin/java.exe\"\n )):\nfi:\n \n\n###############################
#######################################\n\n# Look for Tomcat\n\ncd := \+
[util_slashsplit(currentdir())]:\nif nops(cd) > 4 then\n cd := util_sl
ashjoin(op(cd[1..-6])):\n cd := (\"Def\" = [cd,\"tomcat\"], \"Def\" = \+
[cd,\"jakarta-tomcat\"]):\nelse\n cd := NULL:\nfi:\n\nif os_os = \"Lin
ux\" then\n Config['CatalinaHome'] :=\n look_for_dir(\n \"Tomcat\",\n
\"Conf\" = 'CatalinaHome',\n \"Env\" = \"CATALINA_HOME\",\n \"Def
\" = [\"/usr/local\",\"tomcat\"],\n \"Def\" = [\"/usr/local\",\"jak
arta-tomcat\"],\n cd,\n \"Check\" = \"bin/catalina.sh\"\n ):\nelse\n
Config['CatalinaHome'] :=\n osname1(look_for_dir(\n \"Tomcat\",\n \+
\"Conf\" = 'CatalinaHome',\n \"Env\" = \"CATALINA_HOME\",\n \"Def\"
= [\"C:\",\"tomcat\"],\n \"Def\" = [\"C:\",\"jakarta-tomcat\"],\n \+
\"Def\" = [\"C:\\\\Program Files\",\"tomcat\"],\n \"Def\" = [\"C:
\\\\Program Files\",\"jakarta-tomcat\"],\n cd,\n \"Check\" = \"bin/c
atalina.bat\"\n )):\nfi:\n\n\n########################################
##############################\n\n# Look for Maple\n\nif os_os = \"Lin
ux\" then\n Config['MapleProgram'] :=\n look_for_prog(\n \"Maple\",\n
\"Conf\" = 'MapleProgram',\n \"Def\" = \"/bin/maple\",\n \"Def
\" = \"/usr/bin/maple\",\n \"Def\" = \"/usr/local/bin/maple\",\n \+
\"Def\" = \"/usr/local/maple/bin/maple\",\n \"Def\" = \"/usr/loc
al/maple_su/bin/maple\",\n \"Path\" = \"maple\",\n \"Check\" = [\"-
c quit;\",\"Waterloo\"]\n ):\nelse\n Config['MapleProgram'] :=\n osnam
e1(look_for_prog(\n \"Maple\",\n \"Conf\" = 'MapleProgram',\n \"De
f\" = \"C:\\\\Maple\\\\bin.wnt\\\\cmaple.exe\",\n \"Def\" = \"C:
\\\\Program Files\\\\Maple\\\\bin.wnt\\\\cmaple.exe\",\n \"Def\" = \+
\"C:\\\\Maple 8\\\\bin.win\\\\cmaple8.exe\",\n \"Def\" = \"C:\\\\Pr
ogram Files\\\\Maple 8\\\\bin.win\\\\cmaple8.exe\",\n \"Def\" = \"C
:\\\\Program Files\\\\Maple 9\\\\bin.win\\\\cmaple9.exe\",\n \"Def\" \+
= \"C:\\\\Maple 7\\\\bin.wnt\\\\cmaple.exe\",\n \"Def\" = \"C:\\
\\Program Files\\\\Maple 7\\\\bin.wnt\\\\cmaple.exe\",\n \"Def\" = \+
\"C:\\\\Maple 6\\\\bin.wnt\\\\cmaple.exe\",\n \"Def\" = \"C:\\\\Pro
gram Files\\\\Maple 6\\\\bin.wnt\\\\cmaple.exe\",\n \"Path\" = \"cma
ple8.exe\",\n \"Path\" = \"cmaple.exe\",\n \"Check\" = [\"-c quit;
\",\"Waterloo\"]\n )):\nfi:\n\n\n#####################################
#################################\n\n# Look for upload directory\n\nif
os_os = \"Linux\" then\n Config['TempDir'] :=\n look_for_dir(\n \"up
load directory\",\n \"Conf\" = 'TempDir',\n \"Env\" = \"TempDir\"
,\n \"Env\" = \"TMPDIR\",\n \"Def\" = [\"\",\"tmp\"]\n ):\nelse
\n Config['TempDir'] :=\n osname1(look_for_dir(\n \"upload directory
\",\n \"Conf\" = 'TempDir',\n \"Env\" = \"TempDir\",\n \"Env\" \+
= \"TMPDIR\",\n \"Env\" = \"Temp\",\n \"Env\" = \"TMP\",\n \"D
ef\" = [\"C:\",\"temp\"],\n \"Def\" = [\"C:\",\"tmp\"]\n )):\nfi:
\n\nsetconfig('MaxPostSize',10 * 1024 * 1024):\n\n####################
##################################################\n\np(\"\\nFinding t
he host name\\n\"):\n\nif type([Config['HostName']],[string]) then\n \+
q(\"The host name was set manually to %a\\n\",Config['HostName']):\nel
se\n if os_os = \"Linux\" then\n hostname := traperror(ssystem(\"host
name --fqdn\")):\n if hostname = lasterror then\n err := hostname:
\n elif hostname[1] > 0 then\n err := hostname[2]:\n else\n host
name := hostname[2]:\n err := NULL:\n fi:\n if err = NULL then\n \+
if length(hostname) > 0 and substring(hostname,-1..-1)= \"\\n\" then
\n hostname := substring(hostname,1..-2):\n fi:\n q(\"'hostname
--fqdn' returned %a\\n\",hostname):\n if (hostname = \"localhost.lo
caldomain\") then\n hostname := \"localhost\":\n fi:\n else\n \+
q(\"Error while running 'hostname --fqdn' :\\n%s\\n\\n\",err):\n fi:
\n else\n hostname := \"localhost\":\n fi: \n\nConfig['HostName'] := \+
hostname:\n\nfi:\n\np(\"Host name set to %s\\n\\n\",Config['HostName']
):\n\n################################################################
######\n\nsetconfig('Locale',\"en\"):\n\n#############################
#########################################\n\np(\"Setting time zone\\n
\"):\n\n\ntimezone := NULL:\ntimeoffset := NULL:\n\nzones :=\n table([
\n \"ADT\" =-03,\n \"AHST\"=-10,\n \"AST\" =-04,\n \"AT\" =-02,\n \"B
ST\" =+01,\n \"BT\" =+03,\n \"CAT\" =-10,\n \"CCT\" =+08,\n \"CDT\" =
-05,\n \"CET\" =+01,\n \"CST\" =-06,\n \"EADT\"=+11,\n \"EAST\"=+10,\n
\"EDT\" =-04,\n \"EET\" =+02,\n \"EST\" =-05,\n \"FST\" =+02,\n \"FWT
\" =+01,\n \"GMT\" = 0,\n \"GST\" =+10,\n \"HDT\" =-09,\n \"HST\" =-1
0,\n \"IDLE\"=+12,\n \"IDLW\"=-12,\n \"JST\" =+09,\n \"MDT\" =-06,\n \+
\"MEST\"=+02,\n \"MET\" =+01,\n \"MEWT\"=+01,\n \"MST\" =-07,\n \"NT\"
=-11,\n \"NZDT\"=+13,\n \"NZST\"=+12,\n \"PDT\" =-07,\n \"PST\" =-08
,\n \"SST\" =+02,\n \"SWT\" =+01,\n \"UTC\" = 0,\n \"WADT\"=+08,\n \"
WAST\"=+07,\n \"WAT\" =-01,\n \"WET\" = 0,\n \"YDT\" =-08,\n \"YST\" \+
=-09\n]):\n\n\nif os_os = \"Linux\" then\n timezone := traperror(util_
striptrailspaces(os_system(\"date +%%Z\")));\n if timezone = lasterror
then timezone := NULL: fi:\n t0 := traperror(parse(os_system(\"date +
\\\"(%%H*60+%%M)\\\"\"))):\n t0 := traperror(parse(os_system(\"date -u
+\\\"(%%H*60+%%M)\\\"\"))):\n if type([t0,t1],[integer,integer]) then
\n if t0 > t1 + 13 * 60 then\n t0 := t0 - 24 * 60:\n fi:\n timeof
fset := round((t0 - t1)/15) * 15 * 60: \n fi:\nfi:\n\nif type([`Date/L
ocalTimeZoneName`],[string]) then\n timezone := `Date/LocalTimeZoneNam
e`:\n q(\"Time zone was set manually to %a\\n\",timezone):\nelif timez
one <> NULL then\n q(\"Time zone was determined automatically as %a\\n
\",timezone):\nelse\n q(\"Could not determine time zone, assuming GMT
\\n\"):\n timezone := \"GMT\":\nfi:\n\n\nif type([`Date/LocalTimeZoneO
ffset`],[integer]) then\n timeoffset := `Date/LocalTimeZoneOffset`:\n \+
q(\"The offset from UTC was set manually to %d\\n\",timeoffset):\n if \+
timeoffset <> 0 and abs(timeoffset) < 24 then\n q(\"This appears to b
e in hours, but it needs to be in seconds.\\n\"):\n q(\"It will be co
nverted automatically.\\n\"):\n timeoffset := timeoffset * 3600:\n el
se\n if not (type(integer,timeoffset/900)) then\n timeoffset := rou
nd(timeoffset / 900) * 900:\n q(\"This was rounded to %d\\n\",timeof
fset):\n fi:\n fi:\nelif type([zones[timezone]],[integer]) then\n tim
eoffset := zones[timezone] * 3600:\n q(\"The offset from UTC is %d hou
r(s)\\n\",zones[timezone]):\nelif timeoffset <> NULL then\n timeoffset
:= round(timeoffset / 900) * 900:\n q(\"The offset from UTC was calcu
lated as %A hour(s)\\n\",\n timeoffset/3600.):\nelse\n q(\"The offse
t from UTC could not be determined, and will be taken\\n\"):\n q(\"to \+
be zero. \\n\"):\n timeoffset := 0:\nfi:\n\n`Date/LocalTimeZoneName` :
= timezone:\n`Date/LocalTimeZoneOffset` := timeoffset:\n\np(\"Time zon
e set to %s (= UTC +%A hours)\\n\",timezone,timeoffset/3600):\n\n#####
#################################################################\n\np
(\"Setting other configuration options\\n\"):\n\nif type([Config['Tomc
atPort']],[integer]) then\n Config['TomcatPort'] := sprintf(\"%d\",Con
fig['TomcatPort']):\nfi:\n\nsetconfig('TomcatPort' , \"8080\"):\n\nif \+
(Config['TomcatPort'] = \"80\") then\n setconfig('HostPort' , Config['
HostName']):\nelse\n setconfig('HostPort' , cat(Config['HostName'],\":
\",Config['TomcatPort'])):\nfi:\n\nsetconfig('TomcatContext' , \"AiM\"
):\n\nif Config['TomcatContext'] = \"ROOT\" then\n setconfig('FullCont
ext',Config['HostPort']):\n setconfig('WebAppDir',\n os_maplename(cat
(Config['CatalinaHome'],\"/webapps/ROOT\"))):\nelse\n setconfig('FullC
ontext',\n cat(Config['HostPort'],\"/\",Config['TomcatContext'])):\n \+
setconfig('WebAppDir' ,\n os_maplename(\n cat(Config['CatalinaHome'
],\"/webapps/\",Config['TomcatContext']))):\nfi:\n\nprintf(Config['Web
AppDir']);\n\nsetconfig('WEBINFDir' ,\n cat(Config['WebAppDir'],\"/WEB
-INF\")):\n\nsetconfig('AimDir' , Config['WEBINFDir']):\nsetconfig('
LogDir' , cat(Config['AimDir'],\"/logs\")):\nsetconfig('RootDir' , \+
cat(Config['AimDir'],\"/root\")):\n\nsetconfig('ServletLogFile',os_osn
ame(cat(Config['LogDir'],\"/servletlog\"))):\nsetconfig('LastRequestFi
le',os_osname(cat(Config['LogDir'],\"/lastrequest\"))):\nsetconfig('Em
ailLogFile',os_osname(cat(Config['LogDir'],\"/emaillog\"))):\n\nsetcon
fig('WebDir' , Config['WebAppDir']):\nsetconfig('DocDir' , cat(Config[
'WebAppDir'],\"/doc\")):\n\nsetconfig('ServletURL', cat(\"http://\",Co
nfig['FullContext'],\"/Alice\")):\nsetconfig('DocumentURL' , cat(\"htt
p://\",Config['FullContext'])):\n\nsetconfig('ShowToolBars' , true):\n
\nsetconfig('MapleInitOptions',\"default\"):\n\n\n####################
##################################################\n\n# Look for TtH\n
\nif os_os = \"Linux\" then\n Config['TtHProgram'] :=\n look_for_prog(
\n \"TtH\",\n \"Conf\" = 'TtHProgram',\n \"Path\" = \"tth\",\n \+
\"Def\" = \"/usr/local/bin/tth\",\n \"Def\" = \"/usr/bin/tth\",\n
\"Def\" = \"/bin/tth\",\n \"Def\" = cat(Config['WebAppDir'],\"/
bin/tth_exe/tth\"),\n \"Check\" = [\"-r < tthtest.tex\",\"TtH is OK\"
]\n ):\nelse\n Config['TtHProgram'] :=\n os_osname(look_for_prog(\n \+
\"TtH\",\n \"Conf\" = 'TtHProgram',\n \"Path\" = \"tth.exe\",\n \+
\"Def\" = \"C:\\\\TtH\\\\tth.exe\",\n \"Def\" = \"C:\\\\Program F
iles\\\\tth.exe\",\n \"Def\" = \"C:\\\\Program Files\\\\TtH\\\\tth.
exe\",\n \"Def\" = cat(Config['WebAppDir'],\"\\\\bin\\\\tth_exe\\\\
tth.exe\"),\n \"Check\" = [\"-r < tthtest.tex\",\"TtH is OK\"]\n )):
\nfi:\n\n\n###########################################################
###########\n\n# Look for the Kill Program\n\nif os_os = \"Linux\" the
n\n Config['KillProgram'] :=\"/bin/kill\";\n os_osname(look_for_prog(
\n \"Kill Process Utility\",\n \"Conf\" = 'KillProgram',\n \"Pa
th\" = \"kill\",\n \"Def\" = \"/bin/kill\",\n \"Def\" = \"/us
r/bin/kill\",\n \"Def\" = \"/usr/local/bin/kill\",\n \"Check\" =
[\"\",\"kill\"]\n )):\n Config['KillProgramArg'] :=\"-9\";\nelse\n C
onfig['KillProgram'] :=\n os_osname(look_for_prog(\n \"Kill Process U
tility\",\n \"Conf\" = 'KillProgram',\n \"Path\" = \"Process.exe\"
,\n \"Def\" = \"C:\\\\AIM\\\\Process\",\n \"Def\" = \"C:\\\\Proc
ess\",\n \"Def\" = cat(Config['WebAppDir'],\"\\\\bin\\\\process\\\\
Process.exe\"),\n \"Check\" = [\"-v\",\"beyondlogic.org\"]\n )):\n se
tconfig('KillProgramArg',\"-k\");\nfi:\n\n\n##########################
############################################\n\n# Look for email progr
am\n\nif os_os = \"Linux\" then\n Config['SendmailProgram'] :=\n look_
for_prog(\n \"sendmail\",\n \"Conf\" = 'SendmailProgram',\n \"Path
\" = \"sendmail\",\n \"Def\" = \"/usr/lib/sendmail\",\n \"Def\" \+
= \"/usr/bin/sendmail\"\n ):\n setconfig('BLATProgram',\"\"):\n setco
nfig('SMTPServer',\"\"):\nelse\n Config['BLATProgram'] := cat(Config['
CatalinaHome'],\"\\\\bin\\\\blat\\\\blat.exe\"):\n setconfig('Sendmail
Program',\"\");\n setconfig('SMTPServer',\"\"):\nfi:\n\np(\"\\n\"):\n
\n\n\nsetconfig('AliceHistorySize',20):\nsetconfig('MaxMapleProcesses'
,8):\nsetconfig('StudentTimeLimit',60000): # one minute\nsetconfig('A
dminTimeLimit',1200000): # twenty minutes\n\nsetconfig('TimeLimit',2.
0): # two seconds\n\n\np(\"\\n\"):\n\n################################
######################################\n\nread(\"ConfigFields.mpl\"):
\n\np(\"Writing Config.mpl and ServletConfig.mpl\\n\"):\n\nif os_filee
xists(\"Config.mpl\") then\n p(\"Renaming Config.mpl as Config.bak\\n
\\n\"):\n err := traperror(os_rename(\"Config.mpl\",\"Config.bak\")):
\n if (err = lasterror) then\n p(\"Failed: %s\\n\",err):\n `quit`(1)
:\n fi:\nfi:\n\nm := proc() fprintf(fd,args); q(args); end:\n\naddhash
:=\n proc(s::string) \n convert(subs(10 = op([10,35,32]),convert(s,b
ytes))[2..-1],bytes):\n end:\n\npadeq :=\n proc(k::name,l::integer)\n \+
m(\"'%a'%s = %a,\\n\",k,\n cat(\" \" $ (15 - length(k))),\n `if
`(Config[k] = NULL,\"NULL\",Config[k])):\n end:\n\nhdr := \"\nThis fil
e is generated automatically by AutoConf.mpl. It is\nrecommended that
you do not edit it directly. Instead, you should\ncreate a separate \+
file called ManualConfig.mpl and copy over any\ndefinitions (from eith
er Config.mpl or ServletConfig.mpl) that you\nwish to override. You c
an then run AutoConf.mpl to fill in the\nremaining definitions and che
ck that everything is consistent.\n\":\n\n\nfd := traperror(fopen(\"Co
nfig.mpl\",'WRITE')):\nif (fd = lasterror) then\n p(\"Could not open C
onfig.mpl for writing:\\n%a\\n\\n\",fd):\n `quit`(1):\nfi:\n\nfprintf(
fd,addhash(hdr)):\nfprintf(fd,\"\\n\\n\"):\n\nm(\"Config := table([\\n
\"):\n\nfor x in ConfigFields do\n padeq(x[1],15):\n fprintf(fd,addhas
h(x[3])):\n fprintf(fd,\"\\n\\n\"):\nod:\n\nm(\"NULL]):\\n\\n\"):\n\nm
(\"`Date/LocalTimeZoneName` := %a:\\n\",`Date/LocalTimeZoneName`):\n
m(\"`Date/LocalTimeZoneOffset` := %d:\\n\",`Date/LocalTimeZoneOffset`)
:\n\nm(\"\\n\\n\"):\n\nerr := traperror(fclose(fd)):\nif err = lasterr
or then\n p(\"Could not close Config.mpl:\\n%a\\n\\n\",err):\n `quit`(
1):\nfi:\n\nfd := traperror(fopen(\"ServletConfig.mpl\",'WRITE')):\nif
(fd = lasterror) then\n p(\"Could not open ServletConfig.mpl for writ
ing:\\n%a\\n\\n\",fd):\n `quit`(1):\nfi:\n\nfprintf(fd,addhash(hdr)):
\nfprintf(fd,\"\\n\\n\"):\n\nm(\"ServletConfig := table([\\n\"):\n\nfo
r x in ServletConfigFields do\n padeq(x[1],18):\n fprintf(fd,addhash(x
[3])):\n fprintf(fd,\"\\n\\n\"):\nod:\n\nm(\"NULL]):\\n\\n\"):\n\nerr \+
:= traperror(fclose(fd)):\nif err = lasterror then\n p(\"Could not clo
se ServletConfig.mpl:\\n%a\\n\\n\",err):\n `quit`(1):\nfi:\n\n\n######
################################################################\n\nif
problems = true then\n p(\"There were configuration problems.\\n\"):
\n p(\"Please read the messages above. \+
\\n\"):\n if (waffle <> true) then\n p(\"You can get more detailed me
ssages by setting waffle := true \\n\"):\n p(\"before executing the w
orksheet again. \\n\"):\n fi:\n p(\"To fix t
he problems, edit the relevant entries at the top of \\n\"):\n p(\"the
worksheet and then execute it again. \\n\"):\n if (dontquit <> \+
true) then `quit`(1): fi:\nfi:\n\nif problems = false then read(\"Serv
let.mpl\"): \n p(\"AIM was successfully configured. \\n\"):\nfi:\n
" }}{PARA 6 "" 1 "" {TEXT -1 56 "AIM will now try to configure your sy
stem automatically." }}{PARA 6 "" 1 "" {TEXT -1 25 "Maple version numb
er is 8" }}{PARA 6 "" 1 "" {TEXT -1 64 "Operating system is not Unix, \+
assumed to be some kind of Windows" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#
>%)problemsG%&falseG" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }}{PARA 6 "" 1 "
" {TEXT -1 16 "Looking for Java" }}{PARA 6 "" 1 "" {TEXT -1 48 "Java f
ound at C:\\Program Files\\java\\j2re1.4.1_02" }}{PARA 6 "" 1 ""
{TEXT -1 0 "" }}{PARA 6 "" 1 "" {TEXT -1 18 "Looking for Tomcat" }}
{PARA 6 "" 1 "" {TEXT -1 25 "Tomcat found at C:\\tomcat" }}{PARA 6 ""
1 "" {TEXT -1 0 "" }}{PARA 6 "" 1 "" {TEXT -1 17 "Looking for Maple" }
}{PARA 6 "" 1 "" {TEXT -1 59 "Maple found at C:\\Program Files\\Maple \+
8\\bin.win\\cmaple8.exe" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }}{PARA 6 ""
1 "" {TEXT -1 28 "Looking for upload directory" }}{PARA 6 "" 1 ""
{TEXT -1 60 "upload directory found at C:\\DOCUME~1\\ADMINI~1\\LOCALS~
1\\Temp" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }}{PARA 6 "" 1 "" {TEXT -1
21 "Finding the host name" }}{PARA 6 "" 1 "" {TEXT -1 26 "Host name se
t to localhost" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }}{PARA 6 "" 1 ""
{TEXT -1 17 "Setting time zone" }}{PARA 6 "" 1 "" {TEXT -1 37 "Time zo
ne set to GMT (= UTC +0 hours)" }}{PARA 6 "" 1 "" {TEXT -1 35 "Setting
other configuration options" }}{PARA 6 "" 1 "" {TEXT -1 23 "C:/tomcat
/webapps/beta1" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }}{PARA 6 "" 1 ""
{TEXT -1 15 "Looking for TtH" }}{PARA 6 "" 1 "" {TEXT -1 41 "TtH found
at C:\\Program Files\\TtH\\tth.exe" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }
}{PARA 6 "" 1 "" {TEXT -1 32 "Looking for Kill Process Utility" }}
{PARA 6 "" 1 "" {TEXT -1 77 "Kill Process Utility found at C:\\tomcat
\\webapps\\beta1\\bin\\process\\Process.exe" }}{PARA 6 "" 1 "" {TEXT
-1 0 "" }}{PARA 6 "" 1 "" {TEXT -1 0 "" }}{PARA 6 "" 1 "" {TEXT -1 40
"Writing Config.mpl and ServletConfig.mpl" }}{PARA 6 "" 1 "" {TEXT -1
33 "Renaming Config.mpl as Config.bak" }}{PARA 6 "" 1 "" {TEXT -1 0 "
" }}{PARA 6 "" 1 "" {TEXT -1 50 "com.oreilly.servlet classes are alrea
dy installed." }}{PARA 6 "" 1 "" {TEXT -1 21 "Reading OS.mpl...done" }
}{PARA 6 "" 1 "" {TEXT -1 23 "Reading Util.mpl...done" }}{PARA 6 "" 1
"" {TEXT -1 23 "Reading I18n.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1
24 "Reading Class.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 22 "Reading P
ot.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 23 "Reading Date.mpl...done
" }}{PARA 6 "" 1 "" {TEXT -1 29 "Reading ParsedText.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 25 "Reading Random.mpl...done" }}{PARA 6 ""
1 "" {TEXT -1 24 "Reading Cache.mpl...done" }}{PARA 6 "" 1 "" {TEXT
-1 29 "Reading ImageCache.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 23 "R
eading HTML.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 28 "Reading aim/LaT
eX.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 24 "Reading Local.mpl...done
" }}{PARA 6 "" 1 "" {TEXT -1 28 "Reading SafeParse.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 27 "Reading aim/Test.mpl...done" }}{PARA 6 "
" 1 "" {TEXT -1 27 "Reading aim/Util.mpl...done" }}{PARA 6 "" 1 ""
{TEXT -1 28 "Reading aim/Util1.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1
27 "Reading aim/Mark.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 34 "Readin
g aim/SyntaxHints.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 27 "Reading a
im/Diff.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 26 "Reading aim/Int.mpl
...done" }}{PARA 6 "" 1 "" {TEXT -1 32 "Reading aim/Functions.mpl...do
ne" }}{PARA 6 "" 1 "" {TEXT -1 27 "Reading aim/Trig.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 29 "Reading aim/Matrix.mpl...done" }}{PARA 6
"" 1 "" {TEXT -1 30 "Reading aim/Student.mpl...done" }}{PARA 6 "" 1 "
" {TEXT -1 31 "Reading aim/Register.mpl...done" }}{PARA 6 "" 1 ""
{TEXT -1 31 "Reading aim/Question.mpl...done" }}{PARA 6 "" 1 "" {TEXT
-1 35 "Reading aim/TextQuestion.mpl...done" }}{PARA 6 "" 1 "" {TEXT
-1 33 "Reading aim/MCQuestion.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1
33 "Reading aim/MRQuestion.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 37 "
Reading aim/MatrixQuestion.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 36 "
Reading aim/MultiQuestion.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 27 "R
eading aim/Quiz.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 32 "Reading aim
/QuizCache.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 30 "Reading aim/Subj
ect.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 27 "Reading aim/Zone.mpl...
done" }}{PARA 6 "" 1 "" {TEXT -1 30 "Reading aim/Compile.mpl...done" }
}{PARA 6 "" 1 "" {TEXT -1 28 "Reading aim/Admin.mpl...done" }}{PARA 6
"" 1 "" {TEXT -1 38 "Reading aim/admin/SourceDir.mpl...done" }}{PARA
6 "" 1 "" {TEXT -1 39 "Reading aim/admin/SourceFile.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 33 "Reading aim/admin/Quiz.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 36 "Reading aim/admin/Subject.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 40 "Reading aim/admin/SubjectHome.mpl...done
" }}{PARA 6 "" 1 "" {TEXT -1 37 "Reading aim/admin/Register.mpl...done
" }}{PARA 6 "" 1 "" {TEXT -1 37 "Reading aim/admin/Generate.mpl...done
" }}{PARA 6 "" 1 "" {TEXT -1 35 "Reading aim/admin/Notify.mpl...done"
}}{PARA 6 "" 1 "" {TEXT -1 36 "Reading aim/admin/Student.mpl...done" }
}{PARA 6 "" 1 "" {TEXT -1 33 "Reading aim/admin/Zone.mpl...done" }}
{PARA 6 "" 1 "" {TEXT -1 42 "Reading aim/admin/ZoneAdminHome.mpl...don
e" }}{PARA 6 "" 1 "" {TEXT -1 44 "Reading aim/admin/ZoneStudentHome.mp
l...done" }}{PARA 6 "" 1 "" {TEXT -1 39 "Reading aim/analyze/Question.
mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 35 "Reading aim/analyze/Quiz.mp
l...done" }}{PARA 6 "" 1 "" {TEXT -1 38 "Reading aim/analyze/Subject.m
pl...done" }}{PARA 6 "" 1 "" {TEXT -1 38 "Reading aim/review/Question.
mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 34 "Reading aim/review/Quiz.mpl
...done" }}{PARA 6 "" 1 "" {TEXT -1 37 "Reading aim/review/Subject.mpl
...done" }}{PARA 6 "" 1 "" {TEXT -1 35 "Reading aim/try/Question.mpl..
.done" }}{PARA 6 "" 1 "" {TEXT -1 31 "Reading aim/try/Quiz.mpl...done
" }}{PARA 6 "" 1 "" {TEXT -1 23 "Reading Site.mpl...done" }}{PARA 6 "
" 1 "" {TEXT -1 22 "Reading Aim.mpl...done" }}{PARA 6 "" 1 "" {TEXT
-1 30 "Reading AliceServer.mpl...done" }}{PARA 6 "" 1 "" {TEXT -1 36 "
AIM was successfully configured. " }}}{EXCHG {PARA 0 "> " 0 ""
{MPLTEXT 1 0 0 "" }}}}{MARK "0 0 0" 1364 }{VIEWOPTS 1 1 0 1 1 1803 1
1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }
Index: ManualConfig.dist
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/maple/ManualConfig.dist,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** ManualConfig.dist 26 Aug 2003 08:27:43 -0000 1.2.2.1
--- ManualConfig.dist 26 Aug 2003 14:58:30 -0000 1.2.2.2
***************
*** 11,15 ****
# The SMTP server that AiM should use for sending mail.
# You will certainly want to change this setting.
! # Config['SMTPServer'] := "smtp.york.ac.uk":
######################################################################
--- 11,15 ----
# The SMTP server that AiM should use for sending mail.
# You will certainly want to change this setting.
! Config['SMTPServer'] := "smtp.york.ac.uk":
######################################################################
***************
*** 18,27 ****
# will allow you to access AiM that it is running on, but not from any
# other machine.
! # Config['HostName'] := "localhost":
######################################################################
# The name of the subdirectory of the Tomcat\webapps directory into
# which you have copied the AiM files
! # Config['TomcatContext'] := "AiM":
# You probably won't need to make any changes below, unless you get an
--- 18,27 ----
# will allow you to access AiM that it is running on, but not from any
# other machine.
! Config['HostName'] := "localhost":
######################################################################
# The name of the subdirectory of the Tomcat\webapps directory into
# which you have copied the AiM files
! Config['TomcatContext'] := "beta1":
# You probably won't need to make any changes below, unless you get an
--- AutoConf.mpl DELETED ---
|