So I bought Panther the other day. Turns out apple have done the right thing this time and shipped with the latest Apache. Which is great, I remember the rigmarole I went through with Jaguar to get a working Apache/mod_perl/libapreq set up. However, they have not shipped the latest mod_perl.

A quick look with Apache::Status tells me that it's 1.26 compiled with everything.

My issue is, in a PerlHandler, usually doing print "foo\n" will print it to the browser. This is not happening with the default Panther install.

I can fix this by changing the call to $r->print("foo\n") instead, but there are just so many places I would have to change it.

I can also fix it by installing mod_perl 1.29, which also works fine, but if possible I would like to keep to what Apple ship, so I don't inadvertently break my entire set up when they release a patch.

Any ideas why the normal STDOUT is not the browser? Is there a global place I can tie it in? E.g. Load some other perlhandler early on in the peace so that it gets tied properly for all subsequent perlhandlers?

cheers
Danial Pearce

PS: Please cc me on replies, not subscribed.



Reply via email to