All of these seem to be correct. In global conf I have:
# URL of WeBWorK handler.
$webwork_url = "/webwork2";
# Root directory of PG.
$pg_dir = "/opt/pg";
And in webwork.apache-config I have
# Set this variable to the path to your WeBWorK installation.
my $webwork_dir = "/opt/webwork2";
# Define the location that is handled by the Apache::WeBWorK module, and tell
# Perl where to find the libraries Apache::WeBWorK needs to run.
print "reading webwork_url location."
Allow from all
I have no idea what the correct syntax is for a warn or print statement
in the apache config file so I put in the first line just now figuring
if the stanza is being read I'd get an error message when I restart
apache. Sure enough, after running
# apachectl graceful
I get the following in the error log:
[Wed Jul 20 05:59:27 2005] [notice] SIGUSR1 received. Doing graceful restart
mod_perl: Invalid command 'print', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed Jul 20 05:59:27 2005] [notice] Apache/1.3.33 (Debian GNU/Linux) mod_perl/1.29 configured -- resuming normal operations
[Wed Jul 20 05:59:27 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
I'm stumped. Any other ideas?
<| Post or View Comments |>