| … | |
… | |
| 21 | # invocations of Apache. webwork-dev doens't appear to be one of those |
21 | # invocations of Apache. webwork-dev doens't appear to be one of those |
| 22 | # systems. |
22 | # systems. |
| 23 | #ScoreBoardFile /var/run/httpd.scoreboard |
23 | #ScoreBoardFile /var/run/httpd.scoreboard |
| 24 | |
24 | |
| 25 | PerlFreshRestart On |
25 | PerlFreshRestart On |
| 26 | <Location /webwork-!WEBWORK_USER!> |
26 | <Location /webwork> |
| 27 | SetHandler perl-script |
27 | SetHandler perl-script |
| 28 | PerlHandler Apache::WeBWorK |
28 | PerlHandler Apache::WeBWorK |
| 29 | |
29 | |
| 30 | PerlSetVar webwork_root !WEBWORK_ROOT! |
30 | PerlSetVar webwork_root !WEBWORK_ROOT! |
| 31 | <Perl> |
31 | <Perl> |
| … | |
… | |
| 49 | # DocumentRoot does have to exist, and not have a subdirectory |
49 | # DocumentRoot does have to exist, and not have a subdirectory |
| 50 | # named "webwork". It suffices. |
50 | # named "webwork". It suffices. |
| 51 | DocumentRoot "htdocs" |
51 | DocumentRoot "htdocs" |
| 52 | |
52 | |
| 53 | # This alias, however, is important. |
53 | # This alias, however, is important. |
| 54 | Alias /webwork-!WEBWORK_USER!_files/ !WEBWORK_ROOT!/htdocs/ |
54 | Alias /webwork_files/ !WEBWORK_ROOT!/htdocs/ |
| 55 | |
55 | |
| 56 | # This should match the DocumentRoot |
56 | # This should match the DocumentRoot |
| 57 | <Directory "!WEBWORK_ROOT!/htdocs"> |
57 | <Directory "!WEBWORK_ROOT!/htdocs"> |
| 58 | Options Indexes FollowSymLinks MultiViews |
58 | Options Indexes FollowSymLinks MultiViews |
| 59 | AllowOverride None |
59 | AllowOverride None |