$server .= ':80/~rkumar';
} else if (strpos($_SERVER["REQUEST_URI"], "/~testflip") === 0) { // Serving out of home dir
$server .= ':80/~testflip';
+} else if (strpos($_SERVER["REQUEST_URI"], "/~mccabe") === 0) { // Serving out of home dir
+ $server .= ':80/~mccabe';
}
if (! $subPrefix) {
// Check if we're on a dev vhost and point to JSIA in the user's public_html on the datanode
// $$$ TODO consolidate this logic
- $devHosts = array('testflip', 'rkumar', 'mang');
+ $devHosts = array('testflip', 'rkumar', 'mang', 'mccabe');
foreach ($devHosts as $host) {
if (strpos($_SERVER["REQUEST_URI"], '/~' . $host) === 0) { // Serving out of home dir
$server .= ':80/' . $host;
// ln -s ~/petabox/www/datanode/BookReader ~/public_html/BookReader
// so we enable it only for known hosts
$devhost = BookReader::getDevHost($server);
- $devhosts = array('mang', 'testflip', 'rkumar');
+ $devhosts = array('mang', 'testflip', 'rkumar', 'mccabe');
if (in_array($devhost, $devhosts)) {
$server = $server . "/~" . $devhost;
}