You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by RR...@netscape.net on 2002/04/16 19:58:07 UTC

PerlRequire -mod_perl-2 - Apache 2.0.35

Hello Friends,

I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems.

Today I installed Apache 2.0.35 with Mod_Perl-2. However, I am not able to use PerlRequire Statement in the httpd.conf.

Whenever I am trying to restart my Windows Services, it is always giving me an error message which does not allow me to start my Windows Services.

While I am able to execute my CGI Scripts in Apache 1.3.23/mod_perl-1.26, I am always getting these errors in 2.0.35/mod_perl-2

[Tue Apr 16 13:48:37 2002] [error] failed to resolve handler `Apache::Registry'
[Tue Apr 16 13:51:44 2002] [error] failed to resolve handler `Apache::Registry'
[Tue Apr 16 13:51:46 2002] [error] failed to resolve handler `Apache::Registry'

Whenever I try to use a PerlRequire Statement in httpd.conf, it just does not allow Apache2 to start.

I am running ActivePerl 631 on Windows 2000 with Apache 1.3.23/mod_perl-1.26_01-dev as well as Apache 2.0.35/mod_perl-1.99_02-dev

Any help and insights would be deeply appreciated.

Thanks,
Rex


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


Re: PerlRequire -mod_perl-2 - Apache 2.0.35

Posted by Dave Rolsky <au...@urth.org>.
On Tue, 16 Apr 2002, Perrin Harkins wrote:

> RRArul@netscape.net wrote:
> > I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems.
>
> Do you really need to use Apache 2 and mod_perl 2?  Why not use the
> proven 1.x series?  It's still pretty early to be using the new stuff.

If he's on Windows, he'd probably want to use Apache 2 for performance
reasons.


-dave

/*==================
www.urth.org
we await the New Sun
==================*/


Re: PerlRequire -mod_perl-2 - Apache 2.0.35

Posted by Perrin Harkins <pe...@elem.com>.
RRArul@netscape.net wrote:
> I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems.

Do you really need to use Apache 2 and mod_perl 2?  Why not use the 
proven 1.x series?  It's still pretty early to be using the new stuff.

- Perrin


Re: PerlRequire -mod_perl-2 - Apache 2.0.35

Posted by pascal barbedor <pa...@laposte.net>.
> > Hello Friends,
> >
> > I am a newbie and had developed a proof-of-concept
> > application on Apache 1.3.23/Mod_Perl-1.26-dev. We are
> > researching into moving away from ASP/IIS Webapplications to
> > Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35
> > with the following problems.
> >
> > Today I installed Apache 2.0.35 with Mod_Perl-2. However, I
> > am not able to use PerlRequire Statement in the httpd.conf.
> >
> > Whenever I am trying to restart my Windows Services, it is
> > always giving me an error message which does not allow me to
> > start my Windows Services.
>


Hi
 for me on winnt, apache 2.0.35 could be installed but once refused to start
as a service too.
and this was because it was necessary to explicitely specify a drive letter
for serverroot and documentroot (etc. maybe)
in the httpd.conf whereas apache doc say if you do not, it will prepend the
drive letter of the apache.exe


pascal





Re: PerlRequire -mod_perl-2 - Apache 2.0.35

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 16 Apr 2002 RRArul@netscape.net wrote:

> Hello Friends,
>
> I am a newbie and had developed a proof-of-concept
> application on Apache 1.3.23/Mod_Perl-1.26-dev. We are
> researching into moving away from ASP/IIS Webapplications to
> Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35
> with the following problems.
>
> Today I installed Apache 2.0.35 with Mod_Perl-2. However, I
> am not able to use PerlRequire Statement in the httpd.conf.
>
> Whenever I am trying to restart my Windows Services, it is
> always giving me an error message which does not allow me to
> start my Windows Services.

A few things to perhaps look at ...

- does the error message give some more specific hint of what
may be wrong?

- does the service start OK, with mod_perl-2 enabled, if the
PerlRequire statement isn't there?

- with the PerlRequire statement, does Apache2 start OK
from the console?

- if it does start OK from the console, does mod_perl
work with your application?

- if it doesn't start from the console, does moving the
effects of the PerlRequire statement to your application
work?

best regards,
randy kobes