Installation

Is Apache module apreq needed on OS X install?

Is Apache module apreq needed on OS X install?

by Murray Eisenberg -
Number of replies: 2
I'm trying to get WeBWorK 2.7 installed under Mac OS X. There's apparently no current docs for doing that. So I'm at least following manually the obsolescent WeBWorkScript.sh to install all the necessary libraries, etc., via MacPorts.

The only installation instructions I see for 2.7, which is under Ubuntu, indicate that the Apache module apreq is needed. Is this true for the OS X setup?

mod_apreq is not one of the modules that one can simply enable in https.conf by uncommenting, since it's not listed in what MacPorts installs for Apache. I thought perhaps the MacPorts Perl p5-libapreq port might do instead, but if I try to install it, it returns error: "Unable to execute port: Can't install apache because conflicting ports are installed: apache2".

Or is mod_apreq already handled by the MacPorts library apr or apr-util, so that I need do nothing with respect to activating apreq?

How might I proceed?
In reply to Murray Eisenberg

Re: Is Apache module apreq needed on OS X install?

by Bill Farr -
You want to install the port p5-libapreq2, not p5-libapreq. This is
because you have apache2 installed. Depending on the version
of Perl you have installed, you may need to install p5.XX-libapreq2,
since p5-libapreq2 assumes Perl 5.12 and there are versions of the
port for 5.8, 5.14, and 5.16.
In reply to Murray Eisenberg

Re: Is Apache module apreq needed on OS X install?

by Bill Farr -
Also, I would say that the Installation manual for 2.4 would be more 
useful than the obsolete script you mention. In particular, the 
names of the MacPort modules to install are mostly the same as
those listed in the 2.4 installation manual for FreeBSD, which
is the last column in the table of Perl modules to be installed. Having
the port names to search for on the MacPorts site should be very 
helpful. I wish it had been there the first time I installed WW on
OS X.