|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello,
I am working on a reporting mechanism that uses the apache server logs. For this I have added the following lines in the httpd.conf CustomLog "|/hta/apache/cronolog/sbin/cronolog --period=5minutes /hta/apache/var/logs/EDW/access_log_%Y%m%d%H%M.log" common env=!dontlog The problem I am facing is that the lgos are getting created with "root" permissions. I need to delete these logs after getting the reports ready. Can you please give me any suggestions on how to go about this? Thanks and Regards Vijay |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
[Vj wrote in comp.infosystems.www.servers.unix]
> I am working on a reporting mechanism that uses the apache > server logs. > CustomLog "|/hta/apache/cronolog/sbin/cronolog --period=5minutes > /hta/apache/var/logs/EDW/access_log_%Y%m%d%H%M.log" common env=!dontlog > The problem I am facing is that the lgos are getting created with > "root" permissions. Which user does apache run as ? If root, then this is why .. -- http://fotoserve.com/ - Superb hand-checked AGFA prints, bright sharp posters, strong block canvas prints, unique picture bags and gifts ..... from your own digital images. |
|
![]() |
| Outils de la discussion | |
|
|