[Gllug] /usr/bin/env and the web server user account

Richard W.M. Jones rich at annexia.org
Fri May 20 14:39:54 UTC 2011


On Fri, May 20, 2011 at 01:35:01PM +0100, gvim wrote:
> Still a bit of a mystery which scripts contribute to the default $PATH.

Try putting the PATH you want into /etc/sysconfig/httpd.

That ought to set them for httpd, but Apache itself won't necessarily
pass that through to scripts.  You might need to also play around with
PassEnv and friends -- I can't recall if that's needed for PATH.

Rich.

-- 
Richard Jones
Red Hat
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list