From: Mike G. v. a. <we...@ma...> - 2008-05-24 02:41:51
|
Log Message: ----------- Inserted commented out code that, when uncommented, will enable the WebworkSOAP interface that communicates with Moodle. Modified Files: -------------- webwork2/conf: webwork.apache-config.dist Revision Data ------------- Index: webwork.apache-config.dist =================================================================== RCS file: /webwork/cvs/system/webwork2/conf/webwork.apache-config.dist,v retrieving revision 1.21 retrieving revision 1.22 diff -Lconf/webwork.apache-config.dist -Lconf/webwork.apache-config.dist -u -r1.21 -r1.22 --- conf/webwork.apache-config.dist +++ conf/webwork.apache-config.dist @@ -94,5 +94,41 @@ $Location{$webwork_htdocs_url} = { SetHandler => "none" }; } +$ENV{WEBWORK_ROOT} = $webwork_dir; + +$PerlConfig .= <<EOF; + + +########## SOAP installation ########## +# + +# uncomment these three stanzas to use WeBWorK with Moodle + +# PerlModule WebworkSOAP + +# #WEBWORK SOAP CONFIGURATION +# <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> + +# #WEBWORK SOAP WSDL HANDLER :: TO BE REPLACED WITH A FILE FOR PRODUCTION SERVERS +# <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> + +# end of WeBWorK -- Moodle stanzas + +EOF + </Perl> |