| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
3 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
| 4 | # $Id: global.conf.dist,v 1.9 2003-01-10 21:39:28 sh002i Exp $ |
4 | # $Id: global.conf.dist,v 1.10 2003-01-21 20:24:03 sh002i Exp $ |
| 5 | ################################################################################ |
5 | ################################################################################ |
| 6 | |
6 | |
| 7 | # This file is used to set up the default WeBWorK course environment for all |
7 | # This file is used to set up the default WeBWorK course environment for all |
| 8 | # requests. Values may be overwritten by the course.conf for a specific course. |
8 | # requests. Values may be overwritten by the course.conf for a specific course. |
| 9 | # All package variables set in this file are added to the course environment. |
9 | # All package variables set in this file are added to the course environment. |
| … | |
… | |
| 48 | }, |
48 | }, |
| 49 | ); |
49 | ); |
| 50 | |
50 | |
| 51 | %webworkURLs = ( |
51 | %webworkURLs = ( |
| 52 | root => "$webworkURLRoot", |
52 | root => "$webworkURLRoot", |
| 53 | home => "http://webwork3/", |
53 | home => "http://host.yourdomaon.edu/webwork-info", |
| 54 | htdocs => "/webwork_files", |
54 | htdocs => "/webwork_files", |
| 55 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
55 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
| 56 | oldProf => "/webwork-old/profLogin.pl", |
56 | oldProf => "/webwork-old/profLogin.pl", |
| 57 | ); |
57 | ); |
| 58 | |
58 | |
| … | |
… | |
| 77 | %courseFiles = ( |
77 | %courseFiles = ( |
| 78 | environment => "$courseDirs{root}/course.conf", |
78 | environment => "$courseDirs{root}/course.conf", |
| 79 | motd => "$courseDirs{root}/motd.txt", |
79 | motd => "$courseDirs{root}/motd.txt", |
| 80 | ); |
80 | ); |
| 81 | |
81 | |
|
|
82 | # quick hack to fix transaction logging. blah. |
|
|
83 | $webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; |
|
|
84 | |
| 82 | my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName"; |
85 | my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName"; |
| 83 | %courseURLs = ( |
86 | %courseURLs = ( |
| 84 | root => "$courseURLRoot", |
87 | root => "$courseURLRoot", |
| 85 | html => "$courseURLRoot", |
88 | html => "$courseURLRoot", |
| 86 | html_temp => "$courseURLRoot/tmp", |
89 | html_temp => "$courseURLRoot/tmp", |
| … | |
… | |
| 91 | ################################################################################ |
94 | ################################################################################ |
| 92 | |
95 | |
| 93 | %mail = ( |
96 | %mail = ( |
| 94 | smtpServer => "mail.math.rochester.edu", |
97 | smtpServer => "mail.math.rochester.edu", |
| 95 | smtpSender => "webwork\@math.rochester.edu", |
98 | smtpSender => "webwork\@math.rochester.edu", |
|
|
99 | # allowedRecipients defines addresses that the PG system is allowed to |
|
|
100 | # send mail to. this prevents subtle PG exploits. This should be set |
|
|
101 | # in course.conf to the addresses of professors of each course. Sending |
|
|
102 | # mail from the PG system (i.e. questionaires, essay questions) will |
|
|
103 | # fail if this is not set somewhere (either here or in course.conf). |
|
|
104 | allowedRecipients => [ |
|
|
105 | "yourname\@host.yourdomain.edu", |
|
|
106 | ], |
|
|
107 | # if defined, feedbackRecipients overrides the list of recipients for |
|
|
108 | # feedback email. It's appropriate to set this in the course.conf for |
|
|
109 | # specific courses, but probably not in global.conf. if not defined, |
|
|
110 | # mail is sent to all professors and TAs for a given course |
|
|
111 | #feedbackRecipients => [ |
|
|
112 | # "prof1\@host.yourdomain.edu", |
|
|
113 | # "prof2\@host.yourdomain.edu", |
|
|
114 | #], |
| 96 | ); |
115 | ); |
| 97 | |
116 | |
| 98 | %externalPrograms = ( |
117 | %externalPrograms = ( |
| 99 | tth => "/usr/local/bin/tth", |
118 | tth => "/usr/local/bin/tth", |
| 100 | pdflatex => "/usr/local/bin/pdflatex", |
119 | pdflatex => "/usr/local/bin/pdflatex", |