When you logged in as www-data manually you started a login shell. You can think of that shell as a "pre shell" where all of www-data's dot files were read, environment variables were set, etc. before starting up the command shell. When apache is running, it is not "logged in" as www-data, so none of the dot files are read and you needed to explicitly specify which dot files you want run. James > -----Original Message----- > From: Lyle Wincentsen [mailto:lyle.wincentsen@xxxxxxxxx] > Sent: Monday, 15 June, 2009 05:45 > To: users@xxxxxxxxxxxxxxxx > > Anyway, I thought I'd post the solution I found in case it > may be of help to someone else. I'm still not sure why the > config file was read when I was logged in as www-user but not > when apache is operating as that user. > > Thanks to those who responded to my question. > > -Lyle --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx