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

Annotation of /trunk/webwork-modperl/conf/global.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 344 - (view) (download)

1 : sh002i 341 ################################################################################
2 :     # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester
3 : malsyned 344 # $Id: global.conf,v 1.6 2002-06-06 18:34:44 malsyned Exp $
4 : sh002i 341 ################################################################################
5 : malsyned 283
6 : sh002i 314 # This file is used to set up the default WeBWorK course environment for all
7 :     # requests. Values may be overwritten by the course.conf for a specific course.
8 :     # All package variables set in this file are added to the course environment.
9 :     # If you wish to set a variable here but omit it from the course environment,
10 :     # use the "my" keyword. The following variables are available to this file:
11 :     #
12 :     # $webworkRoot directory that contains the WeBWorK distribution
13 :     # $courseName name of the course being used
14 : sh002i 311
15 : sh002i 314 # this hash defines the locations of directories needed by WeBWorK
16 :     %webworkDirs = (
17 :     root => "$webworkRoot",
18 :     conf => "$webworkRoot/conf",
19 : malsyned 342 courses => "$webworkRoot/courses",
20 : sh002i 314 lib => "$webworkRoot/lib",
21 :     );
22 : sh002i 311
23 : sh002i 341 # this hash defines the locations of files needed by WeBWorK
24 : sh002i 314 %webworkFiles = (
25 :     environment => "$webworkDirs{conf}/global.conf",
26 : malsyned 283 );
27 : sh002i 314
28 :     # this hash defines the default locations for course subdirectories
29 :     my $courseRoot = "$webworkDirs{courses}/$courseName"; # easier!
30 :     %courseDirs = (
31 :     root => "$courseRoot",
32 :     DATA => "$courseRoot/DATA",
33 :     auth_DATA => "$courseRoot/DATA/.auth",
34 :     html => "$courseRoot/html",
35 :     html_images => "$courseRoot/html/images",
36 :     html_temp => "$courseRoot/html/tmp",
37 :     logs => "$courseRoot/logs",
38 :     scoring => "$courseRoot/scoring",
39 :     templates => "$courseRoot/templates",
40 :     );
41 :    
42 : sh002i 341 # this hash defines the default locations for course files
43 : sh002i 314 %courseFiles = (
44 :     environment => "$courseDirs{root}/course.conf",
45 :     );
46 :    
47 :     %dbInfo = (
48 :     auth_type => "GDBM",
49 :     auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB",
50 :     auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB",
51 :     auth_keys_file => "$courseDirs{auth_DATA}/keys",
52 :     wwdb_type => "DGBM",
53 :     wwdb_file => "$courseDirs{DATA}/$courseName\_webwork_DB",
54 :     cldb_type => "GDBM",
55 :     cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB",
56 :     );
57 :    
58 : sh002i 341 # sessionKeyTimeout defines length of inactivity before a key expires (seconds)
59 : malsyned 344 $sessionKeyTimeout = 60 * 30;
60 :    
61 :     # Practice users are users who's names start with $practiceUser
62 :     $practiceUserPrefix = "practice";

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9