Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / November 2004



Tip: Looking for answers? Try searching our database.

MOD_PERL and OSX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark S Lowe - 09 Nov 2004 22:59 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 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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.