http://www.perlmonks.org?node_id=606950


in reply to Re: .htaccess for Locating Locally Installed Perl
in thread .htaccess for Locating Locally Installed Perl

Hi Anno,
Running printenv give me this.
$ printenv PWD=/home/rsch/bioinfo TZ=Singapore bashrc_already_invoked=true SCREENDIR=/home/rsch/bioinfo/.screen LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/openwin/lib:/usr/op +enwin/lib:/usr/X11/lib://opt/sfw/gcc-3/lib:/opt/sfw/lib:/opt/parasoft +/lib.solaris:/opt/SUNWmotif/lib:/usr/dt/lib:/usr/ccs/lib PARASOFT=/opt/parasoft PERL5LIB=/home/rsch/bioinfo/lib/perl5/site_perl/5.8.7/sun4-solaris:/ho +me/rsch/bioinfo/lib/perl5/site_perl/5.8.7 OPENWINHOME=/usr/openwin TERMINFO=/usr/local/share/terminfo MANPATH=/opt/SUNWspro/man:/usr/dt/man:/usr/local/.5.8/man:/usr/local/m +an:/usr/local/teTeX/man:/usr/local/tex/man:/usr/man:/usr/local/interv +iews/man:/usr/local/openwin/man:/usr/openwin/share/man:/usr/local/X11 +/lman:/usr/X11/man:/opt/sfw/gcc-3/man:/opt/sfw/man H_SPELL=/tmp/spellhist.bioinfo USER=bioinfo AB_CARDCATALOG=/usr/local/lib/ab_cardcatalog OLDPWD=/ MAIL=/var/spool/mail/bioinfo/bioinfo EDITOR=vim SSH_CLIENT=137.132.80.55 1517 22 LOGNAME=bioinfo SHLVL=1 SSH_CONNECTION=137.132.80.55 1517 137.132.90.55 22 SHELL=/bin/bash CPU=SUN4 HOME=/home/rsch/bioinfo TERM=vt100 PATH=/home/rsch/bioinfo/.perl/bin:/home/rsch/bioinfo/bin:/opt/SUNWspro +/bin:/home/rsch/bioinfo/bin/SUN4:/local/bin:/usr/local/.5.8/bin:/usr/ +local/bin:/usr/bin:/usr/ucb:/usr/local/java/jdk/bin:/usr/local/teTeX/ +bin:/usr/local/teTeX/bin/sparc-sun-solaris2.8:/usr/local/tex/bin:/usr +/local/interviews/bin/SUN4:/usr/local/openwin/bin:/usr/openwin/bin:/u +sr/local/X11/bin:/usr/X11/bin:/opt/sfw/gcc-3/bin:/opt/sfw/bin:/usr/lo +cal/share/oracle:/usr/dt/bin:/opt/SUNWmfwm/bin:/usr/ccs/bin:. XAPPLRESDIR=/usr/local/X11/lib/X11/app-defaults SSH_TTY=/dev/pts/41 _=/usr/ucb/printenv
It seems that my .htaccess entry already accordance with it.

Update: all the complete variables included, following Anno's suggestion.
Regards,
Edward

Replies are listed 'Best First'.
Re^3: .htaccess for Locating Locally Installed Perl
by Anno (Deacon) on Mar 28, 2007 at 09:30 UTC
    There is little to be said looking at only one set of environment variables. Is that your normal interactive environment or what your CGI scripts see? With only three variables set, it looks unusually meager.

    Anno