hcoop: add new server shelob.hcoop.net
[hcoop/domtool2.git] / configDefault / apache.cfg
index 3d10c3a..6cd96b1 100644 (file)
@@ -14,10 +14,9 @@ val fixperms1 = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtoo
 
 val confDir = ConfigCore.localRoot ^ "/vhosts"
 
-val webNodes_all = [("navajos", {version = APACHE_2, auth = MOD_WAKLOG})]
-val webNodes_admin = [("deleuze", {version = APACHE_2, auth = MOD_WAKLOG})]
-
-val webNodes_default = ["navajos"]
+val webNodes_admin = [("mccarthy", {version = APACHE_2, auth = NO_AUTH})]
+val webNodes_all = [("navajos", {version = APACHE_2, auth = MOD_WAKLOG}),
+                   ("shelob",  {version = APACHE_2, auth = MOD_WAKLOG})]
 
 val proxyTargets = ["http://hcoop.net/cgi-bin/mailman",
                    "http://hcoop.net/pipermail"]
@@ -60,6 +59,24 @@ fun backupLogDirOf version1 =
     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 defaultPhpVersion = 5
 
 val waklogUserFile = ConfigCore.localRoot ^ "/waklog.conf"