Here's my current situation: after successfully logging in, I get the following error:
Can't locate object method "remote_addr" via package "Apache2::Connection" at /opt/webwork/webwork2/lib/WeBWorK/Authen.pm line 920.
Unfortunately the only solution stated on that page involves copying over the "webwork-apache2.4-config file instead of webwork-apache2-config.". Well, I started off with that in place:
root@brush:/etc/apache2/conf-enabled# file webwork.conf
webwork.conf: symbolic link to `/opt/webwork/webwork2/conf/webwork.apache2.4-config'
So am I doing another dumb thing?
One thing to note (and I'm not sure if this is something that basically invalidates everything I'm doing), because I've got other websites on this box I'm not using the prefork apache2 as described in the setup instructions. Could this be the problem?
This is what I'm running:
Thanks again.
Addendum:
Simply commenting out the portion that's doing the parsing of the get_server_banner() method "fixed" it for me. Maybe there's a bug in there?
One thing to note (and I'm not sure if this is something that basically invalidates everything I'm doing), because I've got other websites on this box I'm not using the prefork apache2 as described in the setup instructions. Could this be the problem?
This is what I'm running:
root@brush:/etc/apache2/conf-enabled# apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 22 2014 14:36:38
root@brush:/etc/apache2/conf-enabled#
Thanks again.
Addendum:
Simply commenting out the portion that's doing the parsing of the get_server_banner() method "fixed" it for me. Maybe there's a bug in there?
my $APACHE24 = 2.4;
# Commented this out.....
#warn Apache2::ServerUtil::get_server_banner() ;
#if (MP2 && Apache2::ServerUtil::get_server_banner() =~
# m:^Apache/(\d\.\d+\.\d+):) {
# $APACHE24 = version->parse($1) >= version->parse('2.4.00');
#}