Obviously!!! Thanks.
Rmk: since I had made a copy/paste from a mod_perl 1.21 config,
it means PerlSetupEnv directive didn't work before...
Matt Sergeant a écrit :
> On Mon, 22 Jan 2001, Emmanuel Levasseur wrote:
>
> > Hi,
> >
> > I have installed Apache.1.3.14/mod_perl.1.24_01/Perl5.6 on Solaris 2.8.
> > Everything seems to work fine (no error in error_logs) but when I try to
> > use the classical
> > printenv tool thru URL: http://myserver.com/perl/tools/printenv
> >
> > I only get 4 variables:
> > GATEWAY_INTERFACE="CGI-Perl/1.1"
> > MOD_PERL="mod_perl/1.24_01"
> > PATH=...
> > TZ="CET"
> >
> > Of course, if I replace /perl with /cgi-bin, evrything is ok.
> >
> > This is a sample of my httpd.conf file:
> >
> > ...
> > Alias /perl/ ".../cgi-bin/"
> > ...
> > #
> > # Perl handlers
> > #
> > PerlRequire conf/startup.pl
> > PerlFreshRestart On
> > PerlSetupEnv Off
> ^^^^^^^^^^^^^^^^^
>
> You just asked it *not* to setup the environment variables. Hence you
> don't get them.
>
> --
> <Matt/>
>
> /|| ** Director and CTO **
> //|| ** AxKit.com Ltd ** ** XML Application Serving **
> // || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
> // \\| // ** Personal Web Site: http://sergeant.org/ **
> \\//
> //\\
> // \\