[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 705 Revision 774
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.10 2003-01-21 20:24:03 sh002i Exp $ 4# $Id: global.conf.dist,v 1.15 2003-03-07 02:22:40 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.
99 # allowedRecipients defines addresses that the PG system is allowed to 99 # allowedRecipients defines addresses that the PG system is allowed to
100 # send mail to. this prevents subtle PG exploits. This should be set 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 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 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). 103 # fail if this is not set somewhere (either here or in course.conf).
104 allowedRecipients => [ 104 #allowedRecipients => [
105 "yourname\@host.yourdomain.edu", 105 # "yourname\@host.yourdomain.edu",
106 ], 106 #],
107 # if defined, feedbackRecipients overrides the list of recipients for 107 # if defined, feedbackRecipients overrides the list of recipients for
108 # feedback email. It's appropriate to set this in the course.conf 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, 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 110 # mail is sent to all professors and TAs for a given course
111 #feedbackRecipients => [ 111 #feedbackRecipients => [
112 # "prof1\@host.yourdomain.edu", 112 # "prof1\@host.yourdomain.edu",
113 # "prof2\@host.yourdomain.edu", 113 # "prof2\@host.yourdomain.edu",
114 #], 114 #],
115 # feedbackVerbosity:
116 # 0: send only the feedback comment and context link
117 # 1: as in 0, plus user, set, problem, and PG data
118 # 2: as in 1, plus the problem environment (debugging data)
119 feedbackVerbosity => 1,
115); 120);
116 121
117%externalPrograms = ( 122%externalPrograms = (
123 mkdir => "/bin/mkdir",
118 tth => "/usr/local/bin/tth", 124 tth => "/usr/local/bin/tth",
119 pdflatex => "/usr/local/bin/pdflatex", 125 pdflatex => "/usr/local/bin/pdflatex",
120 latex => "/usr/local/bin/latex", 126 latex => "/usr/local/bin/latex",
121 dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", 127 dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent",
122 gif2eps => "$webworkDirs{bin}/gif2eps", 128 gif2eps => "$webworkDirs{bin}/gif2eps",
130 136
131%templates = ( 137%templates = (
132 system => "$webworkDirs{conf}/barebones.template", 138 system => "$webworkDirs{conf}/barebones.template",
133); 139);
134 140
135# $sessionKeyTimeout defines seconds of inactivity before a key expires
136$sessionKeyTimeout = 60*30;
137
138# Practice users are users who's names start with $practiceUser
139# (you can comment this out to remove practice user support)
140$practiceUserPrefix = "practice";
141
142# There is a practice user who can be logged in multiple times. He's
143# commented out by default, though, so you don't hurt yourself. It is
144# kindof a backdoor to the practice user system, since he doesn't have a
145# password. Come to think of it, why do we even have this?!
146#$debugPracticeUser = "practice666";
147
148################################################################################ 141################################################################################
149# Database and session 142# Database and session
150################################################################################ 143################################################################################
151 144
145# dbInfo records some data for the "old" WW/Classlist/Auth.pm database system
146# {auth,wwdb,cldb}_type = database type: GDBM currently implemented
147# {auth_passwd,auth_perm,auth_keys,wwdb,cldb}_file = path to database file
152%dbInfo = ( 148%dbInfo = (
153 auth_type => "GDBM", 149 auth_type => "GDBM",
154 auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB", 150 auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB",
155 auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB", 151 auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB",
156 auth_keys_file => "$courseDirs{auth_DATA}/keys", 152 auth_keys_file => "$courseDirs{auth_DATA}/keys",
159 cldb_type => "GDBM", 155 cldb_type => "GDBM",
160 cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB", 156 cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB",
161 psvn_digits => 5, 157 psvn_digits => 5,
162); 158);
163 159
160# dbLayout records the schema and source for each table in the "new" DB.pm
161# database system. consult DB.pm for the authoritative list of tables.
162# schema = perl module to use for access to the table
163# driver = perl module to use for access to the data source
164# source = location of data source (i.e. path, url, DBI spec)
165# note: schema and driver must have the same interface.
166%dbLayout = (
167 password => {
168 schema => "WeBWorK::DB::Schema::PasswordHash",
169 driver => "WeBWorK::DB::Driver::GDBM",
170 source => "$courseDirs{auth_DATA}/$courseName\_password_DB",
171 },
172 permission => {
173 schema => "WeBWorK::DB::Schema::PermissionHash",
174 driver => "WeBWorK::DB::Driver::GDBM",
175 source => "gdbm:$courseDirs{auth_DATA}/$courseName\_permissions_DB",
176 },
177 key => {
178 schema => "WeBWorK::DB::Schema::KeyHash",
179 driver => "WeBWorK::DB::Driver::GDBM",
180 source => "gdbm:$courseDirs{auth_DATA}/keys",
181 },
182 user => {
183 schema => "WeBWorK::DB::Schema::ClasslistHash",
184 driver => "WeBWorK::DB::Driver::GDBM",
185 source => "gdbm:$courseDirs{auth_DATA}/$courseName\_classlist_DB",
186 },
187 set => {
188 schema => "WeBWorK::DB::Schema::WW1Hash",
189 driver => "WeBWorK::DB::Driver::GDBM",
190 source => "gdbm:$courseDirs{auth_DATA}/$courseName\_webwork_DB",
191 },
192 set_user => {
193 schema => "WeBWorK::DB::Schema::WW1Hash",
194 driver => "WeBWorK::DB::Driver::GDBM",
195 source => "gdbm:$courseDirs{auth_DATA}/$courseName\_webwork_DB",
196 },
197 problem => {
198 schema => "WeBWorK::DB::Schema::WW1Hash",
199 driver => "WeBWorK::DB::Driver::GDBM",
200 source => "gdbm:$courseDirs{auth_DATA}/$courseName\_webwork_DB",
201 },
202 problem_user => {
203 schema => "WeBWorK::DB::Schema::WW1Hash",
204 driver => "WeBWorK::DB::Driver::GDBM",
205 source => "gdbm:$courseDirs{auth_DATA}/$courseName\_webwork_DB",
206 },
207);
208
164# This lets you specify a minimum permission level needed to perform 209# This lets you specify a minimum permission level needed to perform
165# certain actions. In the current system, >=10 will allow a professor 210# certain actions. In the current system, >=10 will allow a professor
166# to perform the action, >=5 will allow a TA to, and >=0 will allow a 211# to perform the action, >=5 will allow a TA to, and >=0 will allow a
167# student to perform an action (almost never what you want). 212# student to perform an action (almost never what you want).
168%permissionLevels = ( 213%permissionLevels = (
169 "become_student" => 10, 214 "become_student" => 10,
170); 215);
216
217# $sessionKeyTimeout defines seconds of inactivity before a key expires
218$sessionKeyTimeout = 60*30;
219
220# Practice users are users who's names start with $practiceUser
221# (you can comment this out to remove practice user support)
222$practiceUserPrefix = "practice";
223
224# There is a practice user who can be logged in multiple times. He's
225# commented out by default, though, so you don't hurt yourself. It is
226# kindof a backdoor to the practice user system, since he doesn't have a
227# password. Come to think of it, why do we even have this?!
228#$debugPracticeUser = "practice666";
171 229
172################################################################################ 230################################################################################
173# PG translation options 231# PG translation options
174################################################################################ 232################################################################################
175 233

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

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9