From 09062728e0b82b5dfe7e1957ca668c6065636ad8 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 4 Jul 2002 11:37:18 +0000 Subject: Have parselog use directory /var/log/apache-vhosts (create it before use!) with Debian-like permissions. --- parselog | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'parselog') diff --git a/parselog b/parselog index 9a7f00e..0241071 100755 --- a/parselog +++ b/parselog @@ -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]; -- cgit v1.2.3