Changes in webwork.apache-config.dist from Release 2.4.1 to 2.4.5
Jump to navigation
Jump to search
- cosmetic change in comment
# Customize the variables below to match your WeBWorK installation.
- added: ability to show source button on any question (useful mostly for demoing to other instructors)
# Uncomment the ScriptAliasMatch to allow access to show-source.cgi # This allows the "show source" button to work for demonstration "courses" # See for example Davide Cervone's Knoxville lectures on math objects #ScriptAliasMatch /webwork2_course_files/([^/]*)/show-source.cgi/(.*) /opt/webwork/courses/$1/html/show-source.cgi/$2
- added: commented out stanzas for experimental webservices. The last two stanzas are used for the webwork - moodle bridges (wwassignment4)
# The following stanzas can be uncommented to enable various experimental # WeBWorK web services. These are still in testing and have not been audited # for security. # the line below is used by XMLRPC, RQP, or SOAP installations below $ENV{WEBWORK_ROOT} = $webwork_dir; $PerlConfig .= <<EOF; # ##### Sam's WeBWorK::Request-based XML-RPC testbed ##### # # # #PerlModule WeBWorK::RPC # #<Location /webwork2_rpc> # # SetHandler perl-script # # PerlHandler Apache::XMLRPC::Lite # # PerlSetVar dispatch_to "WeBWorK::RPC WeBWorK::RPC::CourseManagement" # #</Location> # # ########## XMLRPC installation ########## # # # #PerlModule WebworkWebservice # #<Location /mod_xmlrpc> # # SetHandler perl-script # # PerlHandler Apache::XMLRPC::Lite # # PerlSetVar dispatch_to "WebworkXMLRPC" # # PerlSetVar options "compress_threshold => 10000" # # Order Allow,Deny # # Allow from All # #</Location> # # ########## RQP installation ########## # # Experimental # #PerlModule RQP # ##<Location /rqp> # ## SetHandler perl-script # ## PerlHandler Apache::SOAP # ## PerlSetVar dispatch_to "RQP" # ## PerlSetVar options "compress_threshold => 10000" # ## Order Allow,Deny # ## Allow from All # ##</Location> # #<Location /rqp> # # SetHandler perl-script # # PerlHandler MySOAP # # Order Allow,Deny # # Allow from All # #</Location> # # ########## SOAP installation ########## # # Experimental # #PerlModule WebworkWebservice # #<Location /mod_soap> # # SetHandler perl-script # # PerlHandler Apache::SOAP # # PerlSetVar dispatch_to "WebworkXMLRPC" # # PerlSetVar options "compress_threshold => 10000" # # Order Allow,Deny # # Allow from All # #</Location> # # Uncomment the lines below to allow WeBWorK to serve as a webservice for moodle or blackboard. # 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> EOF