[system] / trunk / webwork-modperl / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/conf/global.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 671 Revision 705
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.5 2002-12-09 18:40:02 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.
10# If you wish to set a variable here but omit it from the course environment, 10# If you wish to set a variable here but omit it from the course environment,
11# use the "my" keyword. The following variables are available to this file: 11# use the "my" keyword. The following variables are available to this file:
12# 12#
13# $webworkRoot directory that contains the WeBWorK distribution 13# $webworkRoot directory that contains the WeBWorK distribution
14# *** $webworkURL base URL handled by Apache::WeBWorK 14# $webworkURL base URL handled by Apache::WeBWorK
15# $courseName name of the course being used 15# $courseName name of the course being used
16 16
17################################################################################ 17################################################################################
18# WeBWorK settings 18# WeBWorK settings
19################################################################################ 19################################################################################
46 timing => "$webworkDirs{logs}/timing.log", 46 timing => "$webworkDirs{logs}/timing.log",
47 transaction => "$courseDirs{logs}/transaction.log", 47 transaction => "$courseDirs{logs}/transaction.log",
48 }, 48 },
49); 49);
50 50
51my $webworkURLRoot = "/webwork"; # *** # this should be detected! (see above)
52%webworkURLs = ( 51%webworkURLs = (
53 root => "$webworkURLRoot", 52 root => "$webworkURLRoot",
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 # *** what would oldProf be if it was a "normal" installation?
58); 57);
59 58
60################################################################################ 59################################################################################
61# Default course-specific settings 60# Default course-specific settings
62################################################################################ 61################################################################################
75 macros => "$courseRoot/templates/macros", 74 macros => "$courseRoot/templates/macros",
76); 75);
77 76
78%courseFiles = ( 77%courseFiles = (
79 environment => "$courseDirs{root}/course.conf", 78 environment => "$courseDirs{root}/course.conf",
79 motd => "$courseDirs{root}/motd.txt",
80); 80);
81
82# quick hack to fix transaction logging. blah.
83$webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log";
81 84
82my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName"; 85my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName";
83%courseURLs = ( 86%courseURLs = (
84 base => "$courseURLRoot", # *** # this should be "root"? 87 root => "$courseURLRoot",
85 html => "$courseURLRoot", 88 html => "$courseURLRoot",
86 html_temp => "$courseURLRoot/tmp", 89 html_temp => "$courseURLRoot/tmp",
87); 90);
88 91
89################################################################################ 92################################################################################
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 mv => "/bin/mv", # *** is this used? probably not...
100 tth => "/usr/local/bin/tth", 118 tth => "/usr/local/bin/tth",
101 pdflatex => "/usr/local/bin/pdflatex", 119 pdflatex => "/usr/local/bin/pdflatex",
102 latex => "/usr/local/bin/latex", 120 latex => "/usr/local/bin/latex",
103 dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", 121 dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent",
104 gif2eps => "$webworkDirs{bin}/gif2eps", 122 gif2eps => "$webworkDirs{bin}/gif2eps",

Legend:
Removed from v.671  
changed lines
  Added in v.705

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9