Discussion:
How does Apache access other virtual host 'user' accounts ?
(too old to reply)
Aaron Gray
2014-08-18 20:41:59 UTC
Permalink
Hi,

I have been pondering on this question for a while. I have an Apache setup with virtual hosts in subdirectories under '/var/www/' and separate .conf files in '/var/www/accounts.d' included by and 'Include' in '/etc/httpd/conf/httpd.conf'

What I am wondering is how does Apache access these directories in order to write to the '/log/*' directory logs ?

In fact the log directory and logs are not writable by anyone !

So how does Apache access and write to them ?

Many thanks in advance,

Aaron
Luuk
2014-08-19 18:14:12 UTC
Permalink
Post by Aaron Gray
Hi,
I have been pondering on this question for a while. I have an Apache setup with virtual hosts in subdirectories under '/var/www/' and separate .conf files in '/var/www/accounts.d' included by and 'Include' in '/etc/httpd/conf/httpd.conf'
What I am wondering is how does Apache access these directories in order to write to the '/log/*' directory logs ?
In fact the log directory and logs are not writable by anyone !
So how does Apache access and write to them ?
Many thanks in advance,
Aaron
The server runs under the security setting of the user specified after
'User' and 'Group' in your httpd.conf file

The log files only need to be writable/readable by that user
(but can also made readable by other accounts)

Continue reading on narkive:
Loading...