summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-07-04 11:37:18 +0000
committerJonas Smedegaard <dr@jones.dk>2002-07-04 11:37:18 +0000
commit09062728e0b82b5dfe7e1957ca668c6065636ad8 (patch)
tree135bd7840b7122b766a588aa2b4b10c0574b4e39
parent23ed61dd1c0c246729fb7ec3c70f434e7928cacb (diff)
Have parselog use directory /var/log/apache-vhosts (create it before use!) with Debian-like permissions.
-rwxr-xr-xparselog14
1 files changed, 7 insertions, 7 deletions
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];