It would seem after many attempts to get anything of any level of complexity
running in mod_perl under OSX, that perhaps it can¹t be done. I have
libraries that work fine in the normal cgi-bin, but constantly produce 500
server errors when running from my mod_perl mod-cgi bin. I can get little
hello worlds running fine, but the second I try to access various built-in
libraries, just the ³use² statement cases fatal errors.
Has anyone conquered the mod_perl world of OSX? I¹ve read every thread that
has come through this forum for the last year. Those posts did help resolve
the basics, but I¹m still left with a so so mod_perl engine.
Any general direction or guidance would be great. Thanks.
Mark
Ian Ragsdale - 09 Nov 2004 23:53 GMT
My guess is that you have a version mismatch between mod_perl and perl.
Ian
> It would seem after many attempts to get anything of any level of
> complexity
[quoted text clipped - 16 lines]
>
> Mark
Chris Devers - 09 Nov 2004 23:57 GMT
> It would seem after many attempts to get anything of any level of
> complexity running in mod_perl under OSX, that perhaps it can¹t be
[quoted text clipped - 3 lines]
> second I try to access various built-in libraries, just the ³use²
> statement cases fatal errors.
Adding this line to your httpd.conf may help you:
PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"
Details: <http://devers.homeip.net:8080/blog/archives/000064.html>
This seems to have fixed the problems I was having getting some mod_perl
applications (Apache::MP3, etc) to work.

Signature
Chris Devers