Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 77319 invoked by uid 500); 9 May 2002 16:45:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 77304 invoked from network); 9 May 2002 16:45:49 -0000 Received: from mail.ci.stpaul.mn.us (HELO bruno.ci.stpaul.mn.us) (209.46.83.2) by daedalus.apache.org with SMTP; 9 May 2002 16:45:49 -0000 Message-Id: Date: Thu, 09 May 2002 11:45:21 -0500 From: "Pete Nelson" To: Subject: Re: mod_perl-2 and Apache 2.0.36 (Win2k) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Well, I have to say I like your idea - I thought of that, too :) I did a PerlRequire to a one-line (minus the shebang) script - unshift(@INC, "C:/perl/site/lib/Apache2"); And then Apache2 would run. Unfortunatly, it would not finish any perl request. I was watching my error.log, and saw several lines like [Thu May 09 11:17:15 2002] [notice] Parent: Created child process 2416 [Thu May 09 11:17:15 2002] [notice] Child 2416: Child process is running [Thu May 09 11:17:16 2002] [notice] Child 2416: Acquired the start mutex. [Thu May 09 11:17:16 2002] [notice] Child 2416: Starting 250 worker threads. [Thu May 09 11:17:20 2002] [notice] Parent: child process exited with status 3221225477 -- Restarting. - over and over again (exit status always the same). It will continue this until I stop the server. (Not a good sign, is it?) Accessing non-perl requests work just fine. So at this point, I'm using mod_cgi as I wait for an answer. Thanks again for the advice. -- Pete Nelson, Web Developer http://www.ci.stpaul.mn.us/ >>> jter@cartmanager.net 05/09/02 11:27AM >>> It sounds to me like you need to do a simple include in your mod_perl portion of your httpd.conf eg use lib ('/path/to/Apache2/folder'); just my 2 cents. ----- Original Message ----- From: "Pete Nelson" To: Sent: Thursday, May 09, 2002 10:11 AM Subject: Re: mod_perl-2 and Apache 2.0.36 (Win2k) > Thanks for your helpful advice. > > This is not actually for a production environment, but my desktop > machine where if it breaks, well it breaks (I am running Windows here, > after all . . .). > > If I do get this figured out, I will let the group know. > > -- > Pete Nelson, Web Developer > > http://www.ci.stpaul.mn.us/ > > >>> jnerad@cimedia.com 05/09/02 10:51AM >>> > On Thursday 09 May 2002 11:21, you wrote: > > Is anyone currently using mod_perl and Apache 2.0.36? Specifically, > > I'm trying to use the windows binary from > > ftp://theoryx5.uwinnipeg.ca/pub/other/ppd/mod_perl-2.ppd . > > > > First, I noticed that 'PerlFreshRestart' was no longer recognized. > > Easy enough to comment out, and then the configtest worked. But > when > > I tried to restart, I got errors. 'Apache::Registry' could not be > > loaded. I looked in my Perl/site/lib folder, and saw an 'Apache2' > > folder, so I started digging for a 'Registery.pm' file. I found one > > under 'Apache2/ModPerl/', but after changing my config to point to > > 'Apache2::ModPerl::Registry', it's still looking for subsequent > > modules under the 'Apache::' module. > > > > I looked on http://perl.apache.org/, but did not see anything > > specific to Apache 2 (although I'll admit that I certainly didn't > > follow every link on the site). I've also tried several 'perldoc' > > commands, but have not found local documentation for configuring. > > > > Has anyone got this running? Anyone seen any documentation for > > Apache 2 and mod_perl online? > > mod_perl for Apache 2 is still under _heavy_ development. After a > proper search of the archives, you might want to address questions > about it to one of the mailing lists found at > > http://perl.apache.org/#maillists > > I believe that there is some preliminary documentation set up at > > http://perl.apache.org/preview/modperl-docs/dst_html/ > > but considering how in-flux the new version of mod_perl is you should > understand that the documents found there may or may not be actively > maintained yet. > > If you need mod_perl to run on apache (and who doesn't! :), I'd > recommend not using version 2 (Apache/mod_perl) just yet. Probably a > better solution until mod_perl stabilizes might be to use Apache 2 as a > > proxy for your mod_perl 1/Apache 1.3 server. > > -- > Jack Nerad > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org