Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2008 22:55:52 +0100
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        Jerry McAllister <jerrymc@msu.edu>, freebsd-questions@freebsd.org
Subject:   Re: PATH problem
Message-ID:  <20081110215552.GA48874@obspm.fr>
In-Reply-To: <200811102235.46971.fbsd.questions@rachie.is-a-geek.net>
References:  <20081110110805.GK1302@obspm.fr> <20081110161002.GA81960@gizmo.acns.msu.edu> <20081110203643.GH27646@obspm.fr> <200811102235.46971.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help

 Le 10/11/2008 à 22:35:44+0100, Mel a écrit
> On Monday 10 November 2008 21:36:43 Albert Shih wrote:
> 
> > But when I use the application throught the web it's not working. But I
> > don't known how to tell apache ? mod_perl ? the PATH.
> 
Thanks for your help

> Check the shell script /usr/local/sbin/envvars. In short, any file 
> in /usr/local/etc/apache22/envvars.d is sourced into the start up environment 
> of apache, through /usr/local/etc/rc.d/apache22 start up script. Unless a 
> module or script explicitly cleans the environment before forking an external 
> program, the variabels set at start up are preserved.
> 
> The following should work for you:
> echo "export PATH=$PATH" > /usr/local/etc/apache22/envvars.d/PATH
> 
> You may want to clean out the path a bit more, pending your security policies.

Sh.t it's not working.

Event I put 

	PATH.env

it's not working.

I'm going to do something very bad ;-)

	ln -s /usr/local/bin/dot /usr/bin

...it's the binary the p5 script search...


OK...ok..it's very very bad.....

Thanks for your (all of you) help.

Regards.
-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Lun 10 nov 2008 22:55:34 CET



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081110215552.GA48874>