modperl_perlsetupenvoff_doh

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: Emmanuel Levasseur <elevass@t-online.fr>
From: Matt Sergeant <matt@sergeant.org>
Subject: Re: problem with Perl5.6?
Date: Mon, 22 Jan 2001 12:23:37 +0000 (GMT)

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.

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu