| 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.6 2003-01-08 16:23:51 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 | |
| 51 | my $webworkURLRoot = "/webwork"; # *** # this should be detected! (see above) |
|
|
| 52 | %webworkURLs = ( |
51 | %webworkURLs = ( |
| 53 | root => "$webworkURLRoot", |
52 | root => "$webworkURLRoot", |
| 54 | htdocs => "/webwork_files", |
53 | htdocs => "/webwork_files", |
| 55 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
54 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
| 56 | oldProf => "/webwork-old/profLogin.pl", |
55 | oldProf => "/webwork-old/profLogin.pl", |
| 57 | # *** what would oldProf be if it was a "normal" installation? |
|
|
| 58 | ); |
56 | ); |
| 59 | |
57 | |
| 60 | ################################################################################ |
58 | ################################################################################ |
| 61 | # Default course-specific settings |
59 | # Default course-specific settings |
| 62 | ################################################################################ |
60 | ################################################################################ |