Commit 09eb5852 authored by Mac Newbold's avatar Mac Newbold

Massive reworking of our structure for defs files.

Before:
The main defs file (ie for configure) had an entry for WWWDEFS that
pointed to a <@WWWDEFS@>-defs.php3 file in the www/ directory. The www
defs file loaded some values about web pages, URLs, and some web
configuration parameters.

Problem:
Anything that was only in the www defs file was not accessible in the rest
of the universe (ie perl, C, and any other non-web-page scripts). For
instance, you couldn't have a perl script send an email to a user with a
link to the web site.

Solution:
Nuke all the www-defs files, move any important values into the main
configure, and change the web defs infrastructure to respect that. This
also meant adding about 3 lines each to all of the configure defs files.
(There really are about 10 new values you can change in your defs file,
but in almost all cases, the default values are the right thing.)

Upgrading:
External sites will need to move a few variables from their www-defs file
into their configure defs file. The example file should make it pretty
obvious. They may also want to customize some of the other vars that are
mentioned in configure.in and www/defs.php3.in .
parent e089f2fc
......@@ -842,6 +842,16 @@ fi
......@@ -883,6 +893,8 @@ TBADMINGROUP="flux"
CLIENT_ETCDIR="/etc/emulab"
CLIENT_BINDIR="/usr/local/etc/emulab"
CLIENT_VARDIR="/var/emulab"
TBSECURECOOKIES=1
TBMAINSITE=0
#
# Okay, I know this is improper usage of --with. Too bad.
......@@ -999,6 +1011,28 @@ else
TBUSERSARCHIVE="$TBOPSEMAIL"
fi
if test -z "$TBAUTHDOMAIN"; then
TBAUTHDOMAIN=".$OURDOMAIN"
fi
if test -z "$TBAUTHTIMEOUT"; then
TBAUTHTIMEOUT="21600"
fi
if test -z "$WWW"; then
WWW="$WWWHOST"
fi
if test -z "$TBBASE"; then
TBBASE="https://$WWW"
fi
if test -z "$TBDOCBASE"; then
TBDOCBASE="http://$WWW"
fi
if test -z "$TBWWW"; then
TBWWW="<$TBBASE/>"
fi
if test -z "$THISHOMEBASE"; then
THISHOMEBASE="Emulab.Net"
fi
#
# LEDA library path
#
......@@ -1236,7 +1270,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1240: checking for a BSD compatible install" >&5
echo "configure:1274: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -1527,7 +1561,6 @@ s%@STRIP@%$STRIP%g
s%@SSH@%$SSH%g
s%@optional_subdirs@%$optional_subdirs%g
s%@TBDBNAME@%$TBDBNAME%g
s%@WWWDEFS@%$WWWDEFS%g
s%@TBADMINGROUP@%$TBADMINGROUP%g
s%@DELAYCAPACITY@%$DELAYCAPACITY%g
s%@IPBASE@%$IPBASE%g
......@@ -1548,6 +1581,17 @@ s%@CLIENT_ETCDIR@%$CLIENT_ETCDIR%g
s%@CLIENT_BINDIR@%$CLIENT_BINDIR%g
s%@CLIENT_VARDIR@%$CLIENT_VARDIR%g
s%@SNMP_RW_COMMUNITY@%$SNMP_RW_COMMUNITY%g
s%@WWWHOST@%$WWWHOST%g
s%@WWW@%$WWW%g
s%@TBBASE@%$TBBASE%g
s%@TBDOCBASE@%$TBDOCBASE%g
s%@TBWWW@%$TBWWW%g
s%@THISHOMEBASE@%$THISHOMEBASE%g
s%@TBSECURECOOKIES@%$TBSECURECOOKIES%g
s%@TBCOOKIESUFFIX@%$TBCOOKIESUFFIX%g
s%@TBAUTHDOMAIN@%$TBAUTHDOMAIN%g
s%@TBAUTHTIMEOUT@%$TBAUTHTIMEOUT%g
s%@TBMAINSITE@%$TBMAINSITE%g
s%@TBOPSEMAIL@%$TBOPSEMAIL%g
s%@TBOPSEMAIL_NOSLASH@%$TBOPSEMAIL_NOSLASH%g
s%@TBLOGSEMAIL@%$TBLOGSEMAIL%g
......
......@@ -21,7 +21,6 @@ AC_SUBST(optional_subdirs)
# to appear in config.h.
#
AC_SUBST(TBDBNAME)
AC_SUBST(WWWDEFS)
AC_SUBST(TBADMINGROUP)
AC_SUBST(DELAYCAPACITY)
AC_SUBST(IPBASE)
......@@ -42,6 +41,17 @@ AC_SUBST(CLIENT_ETCDIR)
AC_SUBST(CLIENT_BINDIR)
AC_SUBST(CLIENT_VARDIR)
AC_SUBST(SNMP_RW_COMMUNITY)
AC_SUBST(WWWHOST)
AC_SUBST(WWW)
AC_SUBST(TBBASE)
AC_SUBST(TBDOCBASE)
AC_SUBST(TBWWW)
AC_SUBST(THISHOMEBASE)
AC_SUBST(TBSECURECOOKIES)
AC_SUBST(TBCOOKIESUFFIX)
AC_SUBST(TBAUTHDOMAIN)
AC_SUBST(TBAUTHTIMEOUT)
AC_SUBST(TBMAINSITE)
#
# Offer both versions of the email addresses that have the @ escaped
......@@ -73,6 +83,8 @@ TBADMINGROUP="flux"
CLIENT_ETCDIR="/etc/emulab"
CLIENT_BINDIR="/usr/local/etc/emulab"
CLIENT_VARDIR="/var/emulab"
TBSECURECOOKIES=1
TBMAINSITE=0
#
# Okay, I know this is improper usage of --with. Too bad.
......@@ -151,6 +163,28 @@ else
TBUSERSARCHIVE="$TBOPSEMAIL"
fi
if test -z "$TBAUTHDOMAIN"; then
TBAUTHDOMAIN=".$OURDOMAIN"
fi
if test -z "$TBAUTHTIMEOUT"; then
TBAUTHTIMEOUT="21600"
fi
if test -z "$WWW"; then
WWW="$WWWHOST"
fi
if test -z "$TBBASE"; then
TBBASE="https://$WWW"
fi
if test -z "$TBDOCBASE"; then
TBDOCBASE="http://$WWW"
fi
if test -z "$TBWWW"; then
TBWWW="<$TBBASE/>"
fi
if test -z "$THISHOMEBASE"; then
THISHOMEBASE="Emulab.Net"
fi
#
# LEDA library path
#
......
......@@ -2,7 +2,6 @@
# This is the definitions file for Mac^D^D^DChad on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=barb-emulab
TBOPSEMAIL=barb@cs.utah.edu
TBLOGSEMAIL=barb@cs.utah.edu
TBWWWEMAIL=barb@cs.utah.edu
......@@ -19,3 +18,5 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=barb@cs.utah.edu
TBTESTSUITEEMAIL=barb@cs.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~barb/www
......@@ -2,7 +2,6 @@
# This is the definitions file for Chad on Mini.
#
TBDBNAME=tbdb
WWWDEFS=barb-mini
TBADMINGROUP=flux
TBOPSEMAIL=barb@cs.utah.edu
TBLOGSEMAIL=barb@cs.utah.edu
......@@ -22,3 +21,7 @@ FSDIR_PROJ=/z/proj
FSDIR_USERS=/z/users
TBSTATEDEMAIL=barb@cs.utah.edu
TBTESTSUITEEMAIL=barb@cs.utah.edu
WWWHOST=www.mini.emulab.net
WWW=www.mini.emulab.net/~barb/www
TBCOOKIESUFFIX=-mini
THISHOMEBASE=Mini.Emulab.Net
......@@ -5,7 +5,6 @@
# be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=default
TBOPSEMAIL=calfeld@flux.cs.utah.edu
TBLOGSEMAIL=calfeld@flux.cs.utah.edu
TBWWWEMAIL=calfeld@flux.cs.utah.edu
......@@ -22,3 +21,5 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=calfeld@flux.cs.utah.edu
TBTESTSUITEEMAIL=calfeld@flux.cs.utah.edu
WWWHOST=www.emulab.net
THISHOMEBASE=Emulab.Net
......@@ -6,7 +6,6 @@
# If you add a variable, be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=default
TBADMINGROUP=flux
TBOPSEMAIL=testbed-ops@flux.cs.utah.edu
TBLOGSEMAIL=testbed-logs@flux.cs.utah.edu
......@@ -27,3 +26,6 @@ FSDIR_GROUPS=/q/groups
FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
FSDIR_SHARE=/share
WWWHOST=www.emulab.net
TBMAINSITE=1
THISHOMEBASE=Emulab.Net
......@@ -5,11 +5,8 @@
# If you add a variable, be sure to go and update configure.in.
#
#
# The name of the defs file for the web interface - you'll create a file
# called www/<name>-defs.php3
#
WWWDEFS=example
# The name of this installation
THISHOMEBASE=Example.Emulab.Net
#
# Various domain and host names
......@@ -18,6 +15,9 @@ WWWDEFS=example
# Domain this testbed resides in
OURDOMAIN=example.emulab.net
# Host name of our web server (or host:port)
WWWHOST=www.example.emulab.net
# Fully-quailified hostname of the boss node
BOSSNODE=boss.example.emulab.net
......@@ -89,3 +89,7 @@ IPBASE=192.168
DELAYCAPACITY=2
SFSSUPPORT=0
DISABLE_NSE=1
# Sometimes the main page is down in a directory on WWWHOST
# No trailing '/'!
#WWW=www.example.emulab.net/emulab-www
......@@ -2,7 +2,6 @@
# This is the definitions file for Kirk on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=kwebb-emulab
TBOPSEMAIL=kwebb@cs.utah.edu
TBLOGSEMAIL=kwebb@cs.utah.edu
TBWWWEMAIL=kwebb@cs.utah.edu
......@@ -18,3 +17,5 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=kwebb@cs.utah.edu
TBTESTSUITEEMAIL=kwebb@cs.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~kwebb/www
......@@ -5,7 +5,6 @@
# be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=mini
TBADMINGROUP=flux
TBOPSEMAIL=minitestbed-ops@flux.cs.utah.edu
TBLOGSEMAIL=minitestbed-logs@flux.cs.utah.edu
......@@ -26,3 +25,6 @@ FSDIR_USERS=/z/users
TBSTATEDEMAIL=minitestbed-stated@flux.cs.utah.edu
TBTESTSUITEEMAIL=minitestbed-testsuite@flux.cs.utah.edu
SFSSUPPORT=0
WWWHOST=www.mini.emulab.net
TBCOOKIESUFFIX=-mini
THISHOMEBASE=Mini.Emulab.Net
......@@ -2,7 +2,6 @@
# This is the definitions file for Mac on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=newbold-emulab
TBOPSEMAIL=newbold@flux.utah.edu
TBLOGSEMAIL=newbold@flux.utah.edu
TBWWWEMAIL=newbold+www@cs.utah.edu
......@@ -19,3 +18,7 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=newbold@flux.utah.edu
TBTESTSUITEEMAIL=newbold@flux.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~newbold/www
THISHOMEBASE=Mac.Emulab.Net
TBAUTHTIMEOUT=216000
......@@ -2,7 +2,6 @@
# This is the definitions file for Mac when he uses his own db.
#
TBDBNAME=macdb
WWWDEFS=newbold-emulab
TBOPSEMAIL=newbold@flux.utah.edu
TBLOGSEMAIL=newbold@flux.utah.edu
TBWWWEMAIL=newbold+www@cs.utah.edu
......@@ -15,3 +14,6 @@ USERNODE=users.emulab.net
OURDOMAIN=emulab.net
TBSTATEDEMAIL=newbold@flux.utah.edu
TBTESTSUITEEMAIL=newbold@flux.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~newbold/www
THISHOMEBASE=Mac.Emulab.Net
#
# This is the defaults definitions file for configure.
#
# Use the --with-TBDEFS=filename to specify your own. If you add a variable,
# be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=mini
WWWDEFS=newbold-mini
TBADMINGROUP=flux
TBOPSEMAIL=newbold+mini-ops@flux.utah.edu
TBLOGSEMAIL=newbold+mini-log@flux.utah.edu
......@@ -26,3 +18,8 @@ FSDIR_PROJ=/z/proj
FSDIR_USERS=/z/users
TBSTATEDEMAIL=newbold+mini-stated@flux.utah.edu
TBTESTSUITEEMAIL=newbold+mini-testsuite@flux.utah.edu
WWWHOST=www.mini.emulab.net
WWW=www.mini.emulab.net/~newbold/www
TBCOOKIESUFFIX=-mini
THISHOMEBASE=Mini.Emulab.Net
TBAUTHTIMEOUT=216000
......@@ -2,7 +2,6 @@
# This is the definitions file for Mac^D^D^DChad^D^D^D^Druss on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=rchriste-emulab
TBOPSEMAIL=rchriste@cs.utah.edu
TBLOGSEMAIL=rchriste@cs.utah.edu
TBWWWEMAIL=rchriste@cs.utah.edu
......@@ -19,3 +18,5 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=rchriste@cs.utah.edu
TBTESTSUITEEMAIL=rchriste@cs.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~ricci/www
......@@ -2,7 +2,6 @@
# This is the definitions file for Rob on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=ricci-emulab
TBOPSEMAIL=ricci@cs.utah.edu
TBLOGSEMAIL=ricci@cs.utah.edu
......@@ -23,3 +22,5 @@ FSDIR_GROUPS=/q/groups
FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
WWWHOST=www.emulab.net
WWW=www.emulab.net/~ricci/www
......@@ -5,7 +5,6 @@
# be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=ricci-mini
TBADMINGROUP=flux
TBOPSEMAIL=ricci@cs.utah.edu
TBLOGSEMAIL=ricci@cs.utah.edu
......@@ -25,3 +24,7 @@ FSDIR_PROJ=/z/proj
FSDIR_USERS=/z/users
TBSTATEDEMAIL=ricci@cs.utah.edu
TBTESTSUITEEMAIL=ricci@cs.utah.edu
WWWHOST=www.mini.emulab.net
WWW=www.mini.emulab.net/~ricci/www
TBCOOKIESUFFIX=-mini
THISHOMEBASE=Mini.Emulab.Net
......@@ -2,7 +2,6 @@
# This is the definitions file for Shashi on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=shash-emulab
TBOPSEMAIL=shash@cs.utah.edu
TBOPSEMAIL=shash+emulab-ops@cs.utah.edu
TBLOGSEMAIL=shash+emulab-log@cs.utah.edu
......@@ -21,3 +20,6 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=shash+stated@cs.utah.edu
TBTESTSUITEEMAIL=shash+testsuite@cs.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~shash/www
THISHOMEBASE=Shash@Emulab.Net
......@@ -5,8 +5,6 @@
# be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=mini
WWWDEFS=shash-mini
TBADMINGROUP=flux
TBOPSEMAIL=shash+mini-ops@cs.utah.edu
TBLOGSEMAIL=shash+mini-log@cs.utah.edu
......@@ -26,3 +24,7 @@ FSDIR_PROJ=/z/proj
FSDIR_USERS=/z/users
TBSTATEDEMAIL=shash+mini-stated@cs.utah.edu
TBTESTSUITEEMAIL=shash+mini-testsuite@cs.utah.edu
WWWHOST=www.mini.emulab.net
WWW=www.mini.emulab.net/~shash/www
TBCOOKIESUFFIX=-mini
THISHOMEBASE=Mini-Shash@Emulab.Net
......@@ -2,7 +2,6 @@
# This is the definitions file for Leigh on Emulab.Net.
#
TBDBNAME=tbdb
WWWDEFS=stoller-emulab
TBOPSEMAIL=stoller@flux.utah.edu
TBLOGSEMAIL=stoller@flux.utah.edu
TBWWWEMAIL=stoller@flux.utah.edu
......@@ -19,3 +18,6 @@ FSDIR_PROJ=/q/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=stoller@fast.cs.utah.edu
TBTESTSUITEEMAIL=stoller@fast.cs.utah.edu
WWWHOST=www.emulab.net
WWW=www.emulab.net/~stoller/www
THISHOMEBASE=Stoller.Emulab.Net
......@@ -2,7 +2,6 @@
# This is the definitions file for Leigh at home.
#
TBDBNAME=tbdb
WWWDEFS=stoller-home
TBOPSEMAIL=stoller@stoller.casco.net
TBLOGSEMAIL=stoller@stoller.casco.net
TBWWWEMAIL=stoller@stoller.casco.net
......@@ -19,3 +18,9 @@ FSDIR_PROJ=/proj
FSDIR_USERS=/users
TBSTATEDEMAIL=stoller@stoller.casco.net
TBTESTSUITEEMAIL=stoller@stoller.casco.net
WWWHOST=golden-gw.ballmoss.com:9876
WWW=golden-gw.ballmoss.com:9876/~stoller/testbed
TBBASE=http://golden-gw.ballmoss.com:9876/~stoller/testbed
TBSECURECOOKIES=0
TBAUTHTIMEOUT=216000
THISHOMEBASE=Stoller.Emulab.Net
......@@ -5,8 +5,6 @@
# be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=mini
WWWDEFS=stoller-mini
TBADMINGROUP=flux
TBOPSEMAIL=stoller@fast.cs.utah.edu
TBLOGSEMAIL=stoller@fast.cs.utah.edu
......@@ -24,3 +22,7 @@ FSDIR_PROJ=/z/proj
FSDIR_USERS=/z/users
TBSTATEDEMAIL=stoller@fast.cs.utah.edu
TBTESTSUITEEMAIL=stoller@fast.cs.utah.edu
WWWHOST=www.mini.emulab.net
WWW=www.mini.emulab.net/~stoller/www
TBCOOKIESUFFIX=-mini
THISHOMEBASE=Stoller.Mini.Emulab.Net
......@@ -6,7 +6,6 @@
# If you add a variable, be sure to go and update configure.in.
#
TBDBNAME=tbdb
WWWDEFS=wide
TBADMINGROUP=tbadmin
TBOPSEMAIL=widetestbed-ops@flux.cs.utah.edu
TBLOGSEMAIL=widetestbed-logs@flux.cs.utah.edu
......@@ -28,3 +27,5 @@ UNIFIED_BOSS_AND_OPS=1
DISABLE_NSE=1
TBSTATEDEMAIL=widetestbed-stated@flux.cs.utah.edu
TBTESTSUITEEMAIL=widetestbed-testsuite@flux.cs.utah.edu
WWWHOST=www.wide.emulab.net
THISHOMEBASE="Wide.Emulab.Net"
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Chad's definitions. Selected via configure.
#
$WWWHOST = "www.emulab.net";
$WWW = "$WWWHOST/~barb/www";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Emulab.Net";
$THISPROJECT = "The Utah Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Chad's definitions. Selected via configure.
#
$WWWHOST = "www.mini.emulab.net";
$WWW = "$WWWHOST/~barb/www";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "-mini";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Mini.Emulab.Net";
$THISPROJECT = "The Mini Utah Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Default definitions, selected via configure.
# See doc/setup.txt in the root of the source tree for
# explanations of some of these variables.
#
$WWWHOST = "www.emulab.net";
$WWW = "$WWWHOST";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
$TBMAINSITE = 1;
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Emulab.Net";
$THISPROJECT = "The Utah Network Testbed";
?>
......@@ -3,10 +3,16 @@
# Standard definitions!
#
$TBDIR = "@prefix@/";
$WWWDEFS = "@WWWDEFS@";
$OURDOMAIN = "@OURDOMAIN@";
$BOSSNODE = "@BOSSNODE@";
$TBADMINGROUP = "@TBADMINGROUP@";
$WWWHOST = "@WWWHOST@";
$WWW = "@WWW@";
$TBAUTHDOMAIN = "@TBAUTHDOMAIN@";
$TBBASE = "@TBBASE@";
$TBDOCBASE = "@TBDOCBASE@";
$TBWWW = "@TBWWW@";
$THISHOMEBASE = "@THISHOMEBASE@";
$TBMAILADDR_OPS = "@TBOPSEMAIL_NOSLASH@";
$TBMAILADDR_WWW = "@TBWWWEMAIL_NOSLASH@";
......@@ -14,16 +20,11 @@ $TBMAILADDR_APPROVAL = "@TBAPPROVALEMAIL_NOSLASH@";
$TBMAILADDR_LOGS = "@TBLOGSEMAIL_NOSLASH@";
$TBMAILADDR_AUDIT = "@TBAUDITEMAIL_NOSLASH@";
# Can override this in the -defs file.
$TBAUTHTIMEOUT = 21600;
# Overridden by the defs file!
$TBMAINSITE = 0;
#
# Include configure selected definitions.
#
include("$WWWDEFS"."-defs.php3");
# Can override this in the defs file.
$TBAUTHTIMEOUT = "@TBAUTHTIMEOUT@";
$TBMAINSITE = "@TBMAINSITE@";
$TBSECURECOOKIES= "@TBSECURECOOKIES@";
$TBCOOKIESUFFIX = "@TBCOOKIESUFFIX@";
$TBWWW_DIR = "$TBDIR"."www/";
$TBBIN_DIR = "$TBDIR"."bin/";
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# An example definitions, selected via the WWWDEFS variable in the
# main defs file.
#
#
# Domain the testbed resides in
#
$TBAUTHDOMAIN = "example.emulab.net";
#
# Fully-quaified hostname of the webserver
#
$WWWHOST = "www.emulab.net";
#
# Title Page stuff - customize to suit
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Example.Emulab.Net";
$THISPROJECT = "The Example Network Testbed";
#
# You shouldn't need to change anything below this point.
#
$WWW = "$WWWHOST";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
$TBMAINSITE = 0;
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Kirk's definitions. Selected via configure.
#
$WWWHOST = "www.emulab.net";
$WWW = "$WWWHOST/~kwebb/www";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Emulab.Net";
$THISPROJECT = "The Utah Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Default definitions. Selected via configure.
#
$WWWHOST = "www.mini.emulab.net";
$WWW = "$WWWHOST";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "-mini";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Mini.Emulab.Net";
$THISPROJECT = "The Mini Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Mac's definitions. Selected via configure.
#
$WWWHOST = "www.emulab.net";
$WWW = "$WWWHOST/~newbold/www";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#4080FF";
$THISHOMEBASE = "Mac.Emulab.Net";
$THISPROJECT = "The Newbold Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Mac's definitions. Selected via configure.
#
$WWWHOST = "www.mini.emulab.net";
$WWW = "$WWWHOST/~newbold/www";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "-mini";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#4080FF";
$THISHOMEBASE = "Mac.Emulab.Net";
$THISPROJECT = "The Mini Newbold Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Rob's definitions. Selected via configure.
#
$WWWHOST = "www.emulab.net";
$WWW = "$WWWHOST/~ricci/www";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
#
$TITLECOLOR = "#E04050";
$BANNERCOLOR = "#ABABE0";
$THISHOMEBASE = "Emulab.Net";
$THISPROJECT = "The Utah Network Testbed";
?>
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Default definitions. Selected via configure.