Hi there, On Wed, 11 Feb 2004, Pat Eyler wrote:
> I'm trying to get mod_perl running on my OS X (panther) system, and am > running into some issues with IO. I've got a trivial script which runs > properly as a cgi, but fails under Apache::PerlRun or Apache::Registry: > ... > Anyone have a clue to share? Firstly "this doesn't work" is a useless description of your problem. Please give more information about what you mean. For example there are logs produced by Apache when requests arrive, is there anything helpful in them? At the bottom of every message sent out by the mod_perl list server there's a link about reporting problems. You should look at that and report the information requested, especially things like what versions of mod_perl and Apache you're using. Secondly there are lots of ways to debug problems, and a whole section in the mod_perl guide to help you to help yourself that way. Read it and enjoy the debugging (debugging is often the most interesting part to me, which gives you some idea of how interesting I find developing Web software:). For example you can print to STDERR from your script and see the messages in the error_log - or you should be able to. Thirdly I think it's unlikely that your problem has anything to do with the operating system. The one you're using is less popular than some others I could mention, so mod_perl is less well exercised on it and you might need to prepare yourself for the odd surprise in future, but OTOH any reports of successes and failures on your system will be welcome here. 73, Ged. -- 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