Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-18-2003, 03:58 PM   #1
darrendavid
Prospect
 
Join Date: Jan 2002
Posts: 2
Apache::MP3 on OSX returns empty pages

hi all-

so for a while i was running Apache::MP3 happily on my OSX machine, using the default installation of Apache and mod_perl. Suddenly, it stopped working for reasons unknown to me. I upgraded to Panther, reinstalled Apache::MP3 and MP3::Info, and still no dice. I also tried this on a another system with a fresh Panther install and no such luck.

The behavior is that browsing to my music directory via any browser returns an empty HTML page:

"<html><body></body></html>"

I'm not getting any errors in the error_log.

any thoughts?

Thanks,
Darren David
darrendavid is offline   Reply With Quote
Old 10-05-2004, 06:21 PM   #2
babbage
Prospect
 
Join Date: Jan 2002
Location: Boston
Posts: 5
Found a fix for you

This has been driving me nuts for a while. I found a fix and posted it to the macosx@perl.org mailing list -- see here for the post:

http://www.mail-archive.com/macosx@p.../msg07508.html

Basically, the fix is to put this somewhere useful in your httpd.conf:

PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"

That will tie standard output to the Apache handler, and by so doing, produce the missing output. Annoying problem, meet simple solution !
babbage is offline   Reply With Quote
Old 10-29-2004, 03:18 PM   #3
CharlesV
Prospect
 
Join Date: Oct 2004
Posts: 5
well sweet, I can get it to serve mp3s now, but has anyone gotten Apache::MP3::Resample to work under OS X?
CharlesV is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:59 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.