[us...@httpd] Perl UNIX shell PATH problem with apache www user

2009-01-19 Thread Andy Smith
Hi List, probably quite a basic question, but where does perl get its PATH variable from when executig shell commands? My problem is running Tr.pm which is part of the open source tool smokeping, it does some nice things with traceroute. The weird problem I have is that I have the same

Re: [us...@httpd] Perl UNIX shell PATH problem with apache www user

2009-01-19 Thread Andy Smith
Hi Davide, yep, apache is running as www, and has no homedir as I mention. And yet the path that apache has set is different between my two servers. My question is how if /etc/profile is the same and the user has no home dir and the perl script is the same on both systems, thanks, Andy.

Re: [us...@httpd] Perl UNIX shell PATH problem with apache www user

2009-01-19 Thread Andy Smith
Hi Davide, yep, apache is running as www, and has no homedir as I mention. And yet the path that apache has set is different between my two servers. My question is how if /etc/profile is the same and the user has no home dir and the perl script is the same on both systems, thanks, Andy.

Re: [us...@httpd] passwords do not function

2009-01-19 Thread Andy Smith
Have you tried putting the full path in the AuthUserFile section to your file containing your usernames and passwords? Also have you checked the username and password file contains some data? It should be a text file with the username and encrypted password. Failing that have you looked in