138 lines
4.7 KiB
HTML
138 lines
4.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Inbound policy type</title>
|
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
|
|
<!--
|
|
----------------------------------------------------------------------------
|
|
START_DESCRIPTION
|
|
Page Function: Collects type of inbound policy
|
|
|
|
Stored Values:
|
|
[typeClient](parent.hidden.clientInfo[clientNum][12])[uri or ipaddress]
|
|
|
|
Next and Back:
|
|
[Next]: rzalladvqos12.htm if parent.hidden.clientInfo[clientNum][12] = "ipaddress"
|
|
[Back]: rzalladvqos4.htm if parent.hidden.clientInfo[clientNum][12] = "uri"
|
|
END_DESCRIPTION
|
|
----------------------------------------------------------------------------
|
|
-->
|
|
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
<script language = "Javascript" src = "iccommon.js"></script>
|
|
<script language="Javascript" type="text/javascript">
|
|
|
|
//START NON-TRANSLATABLE
|
|
|
|
clientNum = parent.hidden.retClientNumber()
|
|
|
|
function pathSwitch() {
|
|
prevDir=parent.hidden.clientInfo[clientNum][12]
|
|
if ( prevDir == "ipaddress" && document.type.clienttype[1].checked ) { return true;} //was ip, now uri
|
|
//else if ( prevDir == "uri" && document.type.clienttype[0].checked ) {return true;} //was uri, now ip
|
|
else {return false;}
|
|
|
|
}
|
|
|
|
|
|
function onNext() {
|
|
|
|
if ( pathSwitch ) {
|
|
parent.hidden.hasInboundCustom = false;
|
|
}
|
|
|
|
|
|
// if ipaddress go to inbound (12)
|
|
if (document.type.clienttype[0].checked){
|
|
parent.hidden.clientInfo[clientNum][12] = "uri"
|
|
window.location = "rzalladvqos4.htm";
|
|
}
|
|
|
|
//if uri information go to inbound (4)
|
|
if (document.type.clienttype[1].checked){
|
|
parent.hidden.clientInfo[clientNum][12] = "ipaddress"
|
|
window.location = "rzalladvqos20.htm";
|
|
}
|
|
}
|
|
|
|
function onBack() {
|
|
|
|
if (document.type.clienttype[0].checked){
|
|
parent.hidden.clientInfo[clientNum][12] = "uri"
|
|
}
|
|
else(parent.hidden.clientInfo[clientNum][12] = "ipaddress")
|
|
|
|
window.location = "rzalladvqos12.htm";
|
|
|
|
}
|
|
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function fillin() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzalladvqoswelcome.htm") {
|
|
window.location = "rzalladvqoswelcome.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzalladvqoshidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzalladvqoshidden.htm";
|
|
} else { //already loaded
|
|
fillin2();
|
|
}
|
|
}
|
|
}
|
|
|
|
function fillin2() {
|
|
typeClient = parent.hidden.clientInfo[clientNum][12] + ''
|
|
|
|
switch ( typeClient ) {
|
|
case "uri" :
|
|
document.type.clienttype[0].checked = true;
|
|
break;
|
|
case "ipaddress" :
|
|
document.type.clienttype[1].checked = true;
|
|
break;
|
|
|
|
}
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<BODY onload="fillin()">
|
|
<h2>QoS planning advisor: URI </h2>
|
|
<p>You must decide whether to filter server connections by a specific URI. Policies that use URI information have more control since they examine content, not just packet headers. This is optional and may typically be used if you are limiting inbound Web server requests. For more information about a URI, see <a href="../rzak8/rzak8inbound.htm" target="_blank">Inbound Connections</a>. </p><p>Do you want to restrict traffic by URI?</p>
|
|
<form name="type">
|
|
<INPUT TYPE="radio" NAME="clienttype" ID="clienttype1" VALUE="uri" checked><Label for="clienttype1">Yes, I want to create an inbound policy by controlling URI information.</LABEL><br>
|
|
<INPUT TYPE="radio" NAME="clienttype" ID="clienttype2" VALUE="ipaddress"><Label for="clienttype2">No, I do not want to restrict traffic based on URI information.</LABEL><P>
|
|
|
|
<center><input name=submit type="button" value="<< Back " onClick="onBack()">
|
|
<input name=submit type="button" value=" Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
|
|
</BODY>
|
|
|
|
</html>
|
|
|