I have some a problem with the Webwork-part of the installation of Moodle assignment.
According to http://webwork.maa.org/wiki/Moodle_Assignment, the file
webwork2/conf/webwork.apache-config should be modified by uncommenting three stanzas. Since we run apache2, the file of interest should be
webwork.apache2-config. It does not contain any of the three stanzas mentioned in the installation part (2a).
Thus, I add the lines $ENV{WEBWORK_ROOT} = $webwork_dir;
$PerlConfig .= <<EOF;
PerlModule WebworkSOAP
<Location /webwork2_rpc>
PerlHandler Apache::SOAP
SetHandler perl-script
PerlSetVar dispatch_to "WebworkSOAP"
PerlSetVar options "compress_threshold => 10000"
Order Allow,Deny
Allow from All
</Location>
<Location /webwork2_wsdl>
PerlSetVar dispatch_to "WebworkSOAP::WSDL"
PerlSetVar options "compress_threshold => 10000"
PerlHandler WebworkSOAP::WSDL
SetHandler perl-script
Order Allow,Deny
Allow from All
</Location>
EOF
However, when I restart the Apache-server, it fails. Without the extra lines, everything works just fine.
Any idea?