| 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.40 2003-08-16 01:30:46 gage Exp $ |
4 | # $Id: global.conf.dist,v 1.41 2003-09-23 21:19:29 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. |
| … | |
… | |
| 18 | ################################################################################ |
18 | ################################################################################ |
| 19 | # WeBWorK settings |
19 | # WeBWorK settings |
| 20 | ################################################################################ |
20 | ################################################################################ |
| 21 | |
21 | |
| 22 | %webworkDirs = ( |
22 | %webworkDirs = ( |
| 23 | root => "$webworkRoot", |
23 | root => "$webworkRoot", |
|
|
24 | DATA => "$webworkRoot/DATA", |
| 24 | bin => "$webworkRoot/bin", |
25 | bin => "$webworkRoot/bin", |
| 25 | conf => "$webworkRoot/conf", |
26 | conf => "$webworkRoot/conf", |
| 26 | courses => "$webworkRoot/courses", |
27 | courses => "$webworkRoot/courses", |
|
|
28 | htdocs => "$webworkRoot/htdocs", |
|
|
29 | htdocs_temp => "$webworkRoot/htdocs/tmp", |
|
|
30 | equationCache => "$webworkRoot/htdocs/tmp/equations", |
| 27 | lib => "$webworkRoot/lib", |
31 | lib => "$webworkRoot/lib", |
| 28 | logs => "$webworkRoot/logs", |
32 | logs => "$webworkRoot/logs", |
| 29 | macros => "$pgRoot/macros", |
33 | macros => "$pgRoot/macros", |
| 30 | tmp => "$webworkRoot/tmp", |
34 | tmp => "$webworkRoot/tmp", |
| 31 | ); |
35 | ); |
| 32 | |
36 | |
| 33 | %webworkFiles = ( |
37 | %webworkFiles = ( |
| 34 | environment => "$webworkDirs{conf}/global.conf", |
38 | environment => "$webworkDirs{conf}/global.conf", |
| 35 | hardcopySnippets => { |
39 | hardcopySnippets => { |
| … | |
… | |
| 45 | setHeader => "$webworkDirs{conf}/snippets/setHeader.pg", |
49 | setHeader => "$webworkDirs{conf}/snippets/setHeader.pg", |
| 46 | }, |
50 | }, |
| 47 | logs => { |
51 | logs => { |
| 48 | timing => "$webworkDirs{logs}/timing.log", |
52 | timing => "$webworkDirs{logs}/timing.log", |
| 49 | }, |
53 | }, |
|
|
54 | equationCacheDB => "$webworkDirs{DATA}/equationcache", |
| 50 | ); |
55 | ); |
| 51 | |
56 | |
| 52 | %webworkURLs = ( |
57 | %webworkURLs = ( |
| 53 | root => "$webworkURLRoot", |
58 | root => "$webworkURLRoot", |
| 54 | home => "/webwork2_files/index.html", |
59 | home => "/webwork2_files/index.html", |
| 55 | htdocs => "/webwork2_files", |
60 | htdocs => "/webwork2_files", |
|
|
61 | htdocs_temp => "/webwork2_files/tmp", |
|
|
62 | equationCache => "/webwork2_files/tmp/equations", |
| 56 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
63 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
| 57 | oldProf => "/webwork-old/profLogin.pl", |
64 | oldProf => "/webwork-old/profLogin.pl", |
| 58 | ); |
65 | ); |
| 59 | |
66 | |
| 60 | ################################################################################ |
67 | ################################################################################ |
| 61 | # Default course-specific settings |
68 | # Default course-specific settings |
| 62 | ################################################################################ |
69 | ################################################################################ |