| Last change
                  on this file since 2447 was
                  2379,
                  checked in by adehnert, 13 years ago | 
        
          | Correctly set mode of suexec.log
Historically, suexec.log has been rolled with error_log, and thus the
permissions have matched. However, suexec.log is considered too private for
logview@ to be able to read. We've handled this by making /var/log/httpd/
readable only by root, but by fixing suexec.log's permissions we eliminate the
possibility of it being readable by some sort of subtle trick, and also open
the way to making /var/log/httpd/ more broadly readable. | 
        | File size:
            618 bytes | 
      
      
        
  | Rev | Line |  | 
|---|
| [2379] | 1 | /home/logview/*log { | 
|---|
| [1323] | 2 | rotate 0 | 
|---|
|  | 3 | daily | 
|---|
|  | 4 | missingok | 
|---|
|  | 5 | notifempty | 
|---|
| [1800] | 6 | create 640 root logview | 
|---|
| [1323] | 7 | sharedscripts | 
|---|
|  | 8 | postrotate | 
|---|
|  | 9 | /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true | 
|---|
|  | 10 | endscript | 
|---|
| [152] | 11 | } | 
|---|
| [1319] | 12 |  | 
|---|
| [2379] | 13 | /var/log/httpd/suexec.log { | 
|---|
|  | 14 | rotate 0 | 
|---|
|  | 15 | daily | 
|---|
|  | 16 | missingok | 
|---|
|  | 17 | notifempty | 
|---|
|  | 18 | create 600 root root | 
|---|
|  | 19 | # No HUP, because suexec doesn't open this log persistently. | 
|---|
|  | 20 | } | 
|---|
|  | 21 |  | 
|---|
| [1317] | 22 | /var/log/httpd/statistics_log { | 
|---|
|  | 23 | rotate 14 | 
|---|
| [1323] | 24 | daily | 
|---|
|  | 25 | missingok | 
|---|
|  | 26 | notifempty | 
|---|
|  | 27 | sharedscripts | 
|---|
|  | 28 | postrotate | 
|---|
|  | 29 | /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true | 
|---|
|  | 30 | endscript | 
|---|
| [1317] | 31 | } | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.