Commit 9bf17199 authored by Leigh Stoller's avatar Leigh Stoller

Kludgy fix to cookies problem. Append a suffix, defined in the various

defs file. For mini, revert the domain back to .emulab.net and set the
suffix to "-mini". For the others, default it to "" to avoid
invalidating current users and logins. Tested with opera, and seems to
work okay now.
parent e295b25b
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
......@@ -22,8 +22,8 @@ $TBPROJ_DIR = "/proj";
$TBUSER_DIR = "/users";
$TBNSSUBDIR = "nsdir";
$TBAUTHCOOKIE = "HashCookie";
$TBNAMECOOKIE = "MyUidCookie";
$TBAUTHCOOKIE = "HashCookie" . $TBCOOKIESUFFIX;
$TBNAMECOOKIE = "MyUidCookie" . $TBCOOKIESUFFIX;
$TBAUTHTIMEOUT = 21600;
$HTTPTAG = "http://";
......
......@@ -7,8 +7,9 @@ $WWW = "$WWWHOST";
$TBBASE = "https://$WWW";
$TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".mini.emulab.net";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "-mini";
#
# Title Page stuff.
......
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = "neo-paper.emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = "neo-paper.emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".emulab.net";
$TBSECURECOOKIES= 1;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
......@@ -9,6 +9,7 @@ $TBDOCBASE = "http://$WWW";
$TBWWW = "<$TBBASE/>";
$TBAUTHDOMAIN = ".ballmoss.com";
$TBSECURECOOKIES= 0;
$TBCOOKIESUFFIX = "";
#
# Title Page stuff.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment