Re: @INC and Win32

2000-05-30 Thread Francesc Guasch

Gundars Kulups wrote:
> 
> At 12:15 PM 5/30/00, Francesc Guasch wrote:
> >Gundars Kulups wrote:
> > >
> > > Hi!
> > > I've upgraded to Apache 1.3.12, perl 5.6.0 and mod_perl 1.23 (Randy's
> > > binary distribution) and now it doesn't work. I've found related topic in
> > > mailing list archive:
> >
> >I don't know why, in a site of mine I have to manually add directories
> >to @INC in httpd.conf. Hope this helps.
> I've tried it, but it doesn't work neither. I am using following config line:
> PerlSetEnv PERL5LIB "c:/Perl/5.6.0/lib;c:/Perl/site/5.6.0/lib"
> If I put it before LoadModule Apache complains about unknown directive
> PerlSetEnv and if I put it after LoadModule, mod_perl doesn't load...

this is what I have:

LoadModule perl_module modules/ApacheModulePerl

push @INC,qw(
c:/perl/site/5.00503/lib
c:/perl/5.00503/lib
c:/perl/5.00503/lib/MSWin32-x86
c:/perl/5.00503/lib
c:/perl/site/5.00503/lib/MSWin32-x86
c:/perl/site/5.00503/lib
);

PerlWarn On
PerlRequire c:/Apache/mason/handler.pl

-- 
 - frankie -



Re: @INC and Win32

2000-05-30 Thread Gundars Kulups

At 12:15 PM 5/30/00, Francesc Guasch wrote:
>Gundars Kulups wrote:
> >
> > Hi!
> > I've upgraded to Apache 1.3.12, perl 5.6.0 and mod_perl 1.23 (Randy's
> > binary distribution) and now it doesn't work. I've found related topic in
> > mailing list archive:
>
>I don't know why, in a site of mine I have to manually add directories
>to @INC in httpd.conf. Hope this helps.
I've tried it, but it doesn't work neither. I am using following config line:
PerlSetEnv PERL5LIB "c:/Perl/5.6.0/lib;c:/Perl/site/5.6.0/lib"
If I put it before LoadModule Apache complains about unknown directive 
PerlSetEnv and if I put it after LoadModule, mod_perl doesn't load...

Gundars




Re: @INC and Win32

2000-05-30 Thread Francesc Guasch

Gundars Kulups wrote:
> 
> Hi!
> I've upgraded to Apache 1.3.12, perl 5.6.0 and mod_perl 1.23 (Randy's
> binary distribution) and now it doesn't work. I've found related topic in
> mailing list archive:

I don't know why, in a site of mine I have to manually add directories
to @INC in httpd.conf. Hope this helps.


-- 
 - frankie -