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:[email protected]] 
> Sent: Monday, 15 June, 2009 05:45
> To: [email protected]

>  
> 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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to