Login | Register
My pages Projects Community openCollabNet

Discussions > dev > /var/log/httpd attributes

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

current
Discussion topic

Back to topic list

/var/log/httpd attributes

Reply

Author =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof dot P at fce dot vutbr dot cz>
Full name =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof dot P at fce dot vutbr dot 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.


Petr


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

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

/var/log/httpd attributes =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof dot P at fce dot vutbr dot cz> =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof dot P at fce dot vutbr dot cz> 2003-04-07 06:21:03 PDT
     Re: /var/log/httpd attributes jwbernin John Berninger 2003-04-07 06:29:51 PDT
         Re: /var/log/httpd attributes =?windows-1252?Q?Kri=9Atof_Petr?= <Kristof dot P at fce dot vutbr dot cz> =?windows-1252?Q?Kri=9Atof_Petr?= <Kristof dot P at fce dot vutbr dot cz> 2003-04-07 06:47:28 PDT
         Re: /var/log/httpd attributes Stephen Smoogen <smoogen at lanl dot gov> Stephen Smoogen <smoogen at lanl dot gov> 2003-04-07 09:14:04 PDT
             Re: /var/log/httpd attributes jwbernin John Berninger 2003-04-07 09:54:26 PDT
Messages per page: