| … | |
… | |
| 2 | # a global find/replace on the following strings: |
2 | # a global find/replace on the following strings: |
| 3 | # !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree |
3 | # !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree |
| 4 | # !WEBWORK_USER! -> your user name |
4 | # !WEBWORK_USER! -> your user name |
| 5 | # !WEBWORK_PORT! -> the port on which you want to run this server |
5 | # !WEBWORK_PORT! -> the port on which you want to run this server |
| 6 | # (please use 10000 + your UID) |
6 | # (please use 10000 + your UID) |
|
|
7 | # !PG_ROOT! -> the root of your personal pg tree |
| 7 | |
8 | |
| 8 | Include /usr/local/etc/apache/httpd-wwmp-header.conf |
9 | Include /usr/local/etc/apache/httpd-wwmp-header.conf |
| 9 | |
10 | |
| 10 | Port !WEBWORK_PORT! |
11 | Port !WEBWORK_PORT! |
| 11 | User !WEBWORK_USER! |
12 | User !WEBWORK_USER! |
| … | |
… | |
| 26 | <Location /webwork2> |
27 | <Location /webwork2> |
| 27 | SetHandler perl-script |
28 | SetHandler perl-script |
| 28 | PerlHandler Apache::WeBWorK |
29 | PerlHandler Apache::WeBWorK |
| 29 | |
30 | |
| 30 | PerlSetVar webwork_root !WEBWORK_ROOT! |
31 | PerlSetVar webwork_root !WEBWORK_ROOT! |
|
|
32 | PerlSetVar pg_root !PG_ROOT! |
| 31 | <Perl> |
33 | <Perl> |
| 32 | use lib '!WEBWORK_ROOT!/lib'; |
34 | use lib '!WEBWORK_ROOT!/lib'; |
| 33 | use lib '!WEBWORK_ROOT!/pglib'; |
35 | use lib '!PG_ROOT!/lib'; |
| 34 | </Perl> |
36 | </Perl> |
| 35 | </Location> |
37 | </Location> |
| 36 | |
38 | |
| 37 | # We're limiting the number of children because we'll be running a lot and |
39 | # We're limiting the number of children because we'll be running a lot and |
| 38 | # don't want to bog the development box down. |
40 | # don't want to bog the development box down. |