Date: Mon, 19 Jan 2009 12:50:47 +0000 From: Andy Smith <a.smith@ukgrid.net> To: Frank Shute <frank@shute.org.uk> Cc: freebsd-questions@freebsd.org Subject: Re: PATH used by www user Message-ID: <20090119125047.1346192x8cuo5hdw@horde.ukgrid.net> In-Reply-To: <20090119121007.GA48330@melon.esperance-linux.co.uk> References: <20090118154724.780736hzlg7x77k0@horde.ukgrid.net> <20090119060151.GA47488@melon.esperance-linux.co.uk> <20090119091612.23733vte33zp7we8@horde.ukgrid.net> <20090119121007.GA48330@melon.esperance-linux.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Frank, thanks a lot for looking into it. Yes one server is an older =20 FreeBSD 6.1, the other 7.0 so they certainly aren't identical servers. =20 But they do have same version of apache (2.2.9) and same version of =20 the perl script, and as far as I can tell same config for default PATH =20 etc. I had a look and there doesnt appear to be anything setting the =20 path in the apache conifg, perhaps it could be a compiled in default =20 path?! I'll ask the apache experts and see if they can help, thanks again, Andy. Quoting Frank Shute <frank@shute.org.uk>: > > Hi Andy, > > I had to look at the Camel book & although it isn't explicit, it seems > like the script inherits the environment of the calling process i.e > Apache in this case. Apache sets the environment with SetEnv (or at > least 1.3 does, I don't run 2*) as it can't inherit one from user www > since it doesn't have one. So have you had a look at httpd.conf and > .htaccess on each machine? > > BTW, one machine uses an "old" PATH with /usr/X11R6/bin in it. That > disappeared some time ago. That may or may not be a clue. > > In short, I think this is probably an Apache question & you might have > more informative answers from there. > > Sorry I can't be more helpful but quite a few Apache people run > FreeBSD and they're likely to be more help than I am. > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090119125047.1346192x8cuo5hdw>