| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
2 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
| 3 | # $Id: global.conf,v 1.20 2002-07-19 02:41:24 sh002i Exp $ |
3 | # $Id: global.conf,v 1.21 2002-07-25 19:49:46 sh002i Exp $ |
| 4 | ################################################################################ |
4 | ################################################################################ |
| 5 | |
5 | |
| 6 | # This file is used to set up the default WeBWorK course environment for all |
6 | # 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. |
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. |
8 | # All package variables set in this file are added to the course environment. |
| … | |
… | |
| 15 | # this hash defines the locations of directories needed by WeBWorK |
15 | # this hash defines the locations of directories needed by WeBWorK |
| 16 | %webworkDirs = ( |
16 | %webworkDirs = ( |
| 17 | root => "$webworkRoot", |
17 | root => "$webworkRoot", |
| 18 | bin => "$webworkRoot/bin", |
18 | bin => "$webworkRoot/bin", |
| 19 | conf => "$webworkRoot/conf", |
19 | conf => "$webworkRoot/conf", |
| 20 | courses => "/ww/webwork/courses", #"$webworkRoot/courses", |
20 | courses => "$webworkRoot/courses", |
| 21 | lib => "$webworkRoot/lib", |
21 | lib => "$webworkRoot/lib", |
| 22 | tmp => "$webworkRoot/tmp", |
22 | tmp => "$webworkRoot/tmp", |
| 23 | macros => "$webworkRoot/macros", |
23 | macros => "$webworkRoot/macros", |
| 24 | ); |
24 | ); |
| 25 | |
25 | |
| … | |
… | |
| 31 | # this hash defines URLs needed by WeBWorK |
31 | # this hash defines URLs needed by WeBWorK |
| 32 | my $webworkURLRoot = "/webwork_files"; |
32 | my $webworkURLRoot = "/webwork_files"; |
| 33 | %webworkURLs = ( |
33 | %webworkURLs = ( |
| 34 | base => "$webworkURLRoot", |
34 | base => "$webworkURLRoot", |
| 35 | logo => "$webworkURLRoot/images/webwork_logo.gif", |
35 | logo => "$webworkURLRoot/images/webwork_logo.gif", |
| 36 | courses => "/courses", #"$webworkURLRoot/courses", |
36 | courses => "/ww/courses", #"$webworkURLRoot/courses", |
| 37 | docs => "/webworkDocs", |
37 | docs => "/webworkDocs", |
| 38 | ); |
38 | ); |
| 39 | |
39 | |
| 40 | # this hash defines the default locations for course subdirectories |
40 | # this hash defines the default locations for course subdirectories |
| 41 | my $courseRoot = "$webworkDirs{courses}/$courseName"; |
41 | my $courseRoot = "$webworkDirs{courses}/$courseName"; |