Login | Register
My pages Projects Community openCollabNet

Discussions > dev > /var/log/httpd attributes > Reply to message

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

Reply to message

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

* = Required fields
* Subject
* Body
Send reply to
Author (directly in email)
Please type the letters in the image above.

Original message

Author =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof.P@fce.vutbr.cz>
Full name =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof.P@fce.vutbr.cz>
Date 2003-04-07 06:21:03 PDT
Message Hi,

I just explored that apache on RedHat comes with directory
/var/log/httpd/ 0700 root.root

and if we use logfile
/var/log/httpd/current.log 0644 apache,apache

it will not work, I think.

Solution is to add to postin script lines
chgrp apache /var/log/httpd
chmod g+rwx /var/log/httpd

or insert this line to %files section in rpm .spec file
%attr(0750,apache,apache) %{_localstatedir}/log/httpd/
(hope this will work)

Experienced users can do it after installation by himself,
but some beginers may have big troubles with this deal.


To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org