X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/c17d0537db6e55a6b2bbd1a459542a5fbb44a68f..bcf547ec38a7ed4b80ac1b657b812d01a5b4ba6c:/configDefault/apache.cfg diff --git a/configDefault/apache.cfg b/configDefault/apache.cfg index f2b9918..db278ba 100644 --- a/configDefault/apache.cfg +++ b/configDefault/apache.cfg @@ -39,6 +39,18 @@ fun logDirOf version1 user = user, "/apache/log"] +fun realLogDirOf user = + if size user < 2 then + "/bad_username" + else + String.concat ["/afs/hcoop.net/user/", + String.substring (user, 0, 1), + "/", + String.substring (user, 0, 2), + "/", + user, + "/.logs/apache"] + fun backupLogDirOf version1 = if version1 then "/afs/hcoop.net/common/etc/domtool/backup/apache/"