{
function createCookie(name,value,days)
{
if (days)
{
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
var q = window.location.search;
var errmsg = null;
if (q && q.length > 1) {
q = q.substring(1).split(/[=&]/);
for (var i = 0; i < q.length - 1; i += 2) {
if (q[i] == "errmsg") {
errmsg = unescape(q[i + 1]);
break;
}
if (q[i] == "host") {
createCookie('url',unescape(q[i+1]),0)
}
}
}
if (errmsg && errmsg.length > 0) {
errmsg = "<div id='errorbox'>\n" + errmsg + "\n</div>\n";
document.write(errmsg);
}
}
</script>
Reverting to th e Default Cap tive Portal
You can reassignthe default captive portal site using the "Revert to factory default settings" check box in the
"UploadCusto mLo ginP ages"sect ion of the Maintenancetab i nt heWebUI.
Configuring Lo calization
The ability to customize the internal captive portal provides you with a very flexiblei nterfaceto the Dellc aptive
portal system. However, other than posting site-specific messages onto t he captive portal website, the most common
type of customization is likelyto be languagelocalization. This section describes a simple method for creating a
native languagecaptive portali mplementationusi ngt he Dell internalcaptive portals ystem.
1. Customize t heco nfigurableparts of the captive portal settings to your liking. To do this, navigate to the
Configuration > Management > Captive Portal > Customize Login Page in the WebUI:
For example,choose a page design, upload a custom logo and/ora custom background. Also include any paget ext
and acceptableuse policy that you would like to include. Put this in your target language or else you will need to
translatet his at a later time.
Ensuret hat Guest login is enabled or disabled as necessary by navigating to the Configuration >Security >
Authentication > L3 Authentication > CaptivePortal Authentication Pr ofilepage t o create or edit the
captive portal profile. Select or deselect "Guest Login".
2. ClickSubmitand then click on View Captive Port al.C heckt hat your customization and text/html is correct,
with the default interface still in English and the character set still autodetects to ISO-8859-1.
DellPowerConnect W- Series ArubaOS 6.2 | UserGuide CaptivePortal Authentication |259