+(* FIXME: hcoop.net reference *)
+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
+ ConfigCore.sharedRoot ^ "/backup/apache/"
+ else
+ ConfigCore.sharedRoot ^ "/backup/apache2/"
+
+fun fastCgiWrapperOf user =
+ if size user < 2 then
+ "/bad_username"
+ else
+ String.concat [ConfigCore.sharedRoot,
+ "/httpd/fastcgi/",
+ String.substring (user, 0, 1),
+ "/",
+ String.substring (user, 0, 2),
+ "/",
+ user,
+ "/",
+ user,
+ "-wrapper-wrapper"]
+
+(* FIXME: hcoop reference *)
+val phpFastCgiWrapper = "/afs/hcoop.net/common/bin/php5-fcgi-wrapper"
+
+val waklogUserFile = ConfigCore.localRoot ^ "/waklog.conf"
+