On Jan 26, 2004, at 23:46, Alex Robinson wrote:
I am using a modified directive:
PerlModule HTML::Mason::ApacheHandler
# <Location /> Doesn't seem to work on OS X
# Returns 500 Internal Server Error when trying to view/run any document or script
That makes it sound like the user you're running Apache as can't write the compiled components - check the permissions of the directory that Mason is using as its data_dir. However, if it's any more complicated than that, to track the problem down you're probably better off going to the Mason Users list:
http://lists.sourceforge.net/lists/listinfo/mason-users
You'll want to provide your httpd.conf and the error message you're getting in the error_log
Since Panther comes with Perlv5.8, does that mean I do not have to recompile apache to get HTML::Mason working?
You don't have to
http://www.masonhq.com/?InstallingMasonOnPanther
But note that the Mason developers still advise using a statically compiled version of Apache. Which is (thanks to David Wheeler) pretty trivial to do in any case
http://www.macdevcenter.com/pub/a/mac/2002/11/05/apache_osx.html
Actually, I seem to remember that it's now even easier than that, since the libapreq patch has made it into the current release and both Apache and mod_perl just install. Apache::Request can then simply be installed via cpan (with or without the various test suites). After that you're home and dry.
yep, or with DarwinPorts
port install apache +mod_perl
this will install a recent Perl in /opt/local and then build a statically linked mod_perl + apache in /opt/local as well.
hth
Michael -- Michael Maibaum internet: [EMAIL PROTECTED] | http://mike.maibaum.org voice: [m] 07958 604025 |
