diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-07-04 11:37:18 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-07-04 11:37:18 +0000 |
commit | 09062728e0b82b5dfe7e1957ca668c6065636ad8 (patch) | |
tree | 135bd7840b7122b766a588aa2b4b10c0574b4e39 | |
parent | 23ed61dd1c0c246729fb7ec3c70f434e7928cacb (diff) |
Have parselog use directory /var/log/apache-vhosts (create it before use!) with Debian-like permissions.
-rwxr-xr-x | parselog | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -72,16 +72,16 @@ # Configuration # -$LOG_DIR = "/var/log/apache"; +$LOG_DIR = "/var/log/apache-vhosts"; $INPUT_SRC = STDIN; # you shouldn't need to change this. -$LOG_FILE_PERMS = 0664; -$LOG_FILE_OWNER = "www-data"; -$LOG_FILE_GROUP = "www-data"; -$LOG_DIR_PERMS = 0775; -$LOG_DIR_OWNER = "www-data"; -$LOG_DIR_GROUP = "www-data"; +$LOG_FILE_PERMS = 0640; +$LOG_FILE_OWNER = "root"; +$LOG_FILE_GROUP = "adm"; +$LOG_DIR_PERMS = 0755; +$LOG_DIR_OWNER = "root"; +$LOG_DIR_GROUP = "root"; $LOG_FILE_UID = ( getpwnam( $LOG_FILE_OWNER ))[2]; $LOG_FILE_GID = ( getgrnam( $LOG_FILE_GROUP ))[2]; |