Good evening,

On 1/10/04 at 9:13 PM -0400, Sam Wilkins <[EMAIL PROTECTED]> wrote:

>No matter what I run, even that, I get document contains no data. It 
>works from the command line. If it helps, I'm on Mac OS X 10.3.5, 
>Apache 1.3.29, and I don't know how to determine my mod_perl version.

This is a common problem with mod_perl and OSX. Add the following to your
httpd.conf file:

# fix for mod_perl print()
PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"

I don't understand why the problem exists or why this fixes it. I took the
advice (found it via some Google searching) and mod_perl scripts now work for
me.


Charlie

-- 
   Charlie Garrison  <[EMAIL PROTECTED]>
   PO Box 141, Windsor, NSW 2756, Australia

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to