Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
local
/
frontpage
/
version5.0
/
admin
/
1033
/
Upload File :
New :
File
Dir
//usr/local/frontpage/version5.0/admin/1033/policies.htm
<html dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" name="CharsetDefinition"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta name="Version" content= "5.0.2.2634" > <Title>Set Installation Defaults</Title> <link rel="stylesheet" type="text/css" href="/_vti_bin/_vti_adm/1033/webadmin.css"> <script Language="javascript"> var L_err1to59_TEXT = "You must enter a number between 1 and 59 for field "; var L_SMTPHost_TEXT = "'SMTP Mail Server'"; var L_SMTPFROM_TEXT = "'From Address'"; var L_SMTPTO_TEXT = "'Reply-To Address'"; var L_AutoDisc_TEXT = "'Automatically delete stored discussions'"; var L_AutoUsage_TEXT = "'Automatically delete stored usage'"; var L_ImmTime_TEXT = "'Immediate time:'"; function todo(whatTodo,p_port) { document.forms["upgrd"].operation.value = whatTodo; document.forms["upgrd"].port.value = p_port; document.forms["upgrd"].submit(); } function Visascii(ch) { return (!(ch.charCodeAt(0) & 0x80)); } function Visspace(ch) { return (ch.charCodeAt(0) == 32) || ((9 <= ch.charCodeAt(0)) && (ch.charCodeAt(0) <= 13)); } function stripWS(str) { var b = 0; var e = str.length; while (str.charAt(b) && (Visascii(str.charAt(b)) && Visspace(str.charAt(b)))) b++; while ((b < e) && (Visascii(str.charAt(e-1)) && Visspace(str.charAt(e-1)))) e--; return ((b>=e)?"":str.substring(b, e )); } var L_NoFieldEmpty_TEXT = " field can't be empty."; function CheckForEmptyField(text_orig,field_name) { var text = stripWS(text_orig); if (text.length == 0) { alert(field_name + L_NoFieldEmpty_TEXT); return false; } return (true); } function CheckForEmptyFieldNoAlert(text_orig) { var text = stripWS(text_orig); if (text.length == 0) { return false; } return (true); } var L_WrongEmailName1_TEXT = "The e-mail address specified in the "; var L_WrongEmailName2_TEXT = " box is not complete. Please type a complete e-mail address, in the format name@domain."; var L_TextWithoutSpaces1_TEXT="You must enter text without spaces in field "; function CheckForAtSighInEmailName(text_orig,field_name) { var text = stripWS(text_orig); if (!CheckForEmptyField(text_orig,field_name)) return false; var indexAt = 0; var countAt = 0; var countSpace = 0; var len = text.length; while(len--) { if (text.charAt(len) == '@') { indexAt = len; countAt++; } if (text.charAt(len) == ' ') countSpace ++; } if ((countAt == 0) || (indexAt == 0) || (indexAt == (text.length-1)) ) { alert(L_WrongEmailName1_TEXT + field_name + L_WrongEmailName2_TEXT); return false; } if (countSpace !=0 ) { alert(L_TextWithoutSpaces1_TEXT + field_name); return false; } return (true); } function ConvertWordToIndex(str) { var arr_week = new Array("sun","mon","tue","wed","thu","fri","sat"); var arr_month = new Array ("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"); var arrs = new Array (arr_week,arr_month); var str1 = stripWS(str); for (var arr_index=0; arr_index < arrs.length ; arr_index++) { var arr_obj = arrs[arr_index]; for (var i=0; i < arr_obj.length; i++) { if (arr_obj[i] == str1) return i; } } return 0; } function ConvertWeekDayToIndex(str,optionsArrObj) { var len = optionsArrObj.options.length; if (len == null) return 0; var str1 = stripWS(str); for (var arr_index=0; arr_index < len ; arr_index++) { var val_text = optionsArrObj.options[arr_index].value; if (val_text == str1) return arr_index; } return 0; } function ConvertToIndex(str,step) { var index = 0; var str1 = stripWS(str); var i = str1.length-1; for (var k = 0; k < 2; k++) { if ((i-k) < 0) break; if ((str.charCodeAt(i-k) < "0".charCodeAt(0)) || (str.charCodeAt(i-k) > "9".charCodeAt(0))) break; index += k? 10*(Number(str.charAt(i-k))) : (Number(str.charAt(i-k))); } return index/step; } function getPeriodicity(recur_str) { var arr_str = recur_str.split(" "); if (arr_str.length) { var per = arr_str[0]; if (per == "off") return ""; return per; } return ""; } function getHourIndex(recur_str) { var period = getPeriodicity(recur_str); if (period == "" || period == "every" || period == "hourly") return 0; else { var arr_str = recur_str.split(" "); if (arr_str.length) { var str = arr_str[arr_str.length-1]; var index = str.indexOf(":"); var hour_str = (index != -1)?str.substring(0,index):""; return ConvertToIndex(hour_str,1); } return 0; } } function getMinuteIndex(recur_str) { var period = getPeriodicity(recur_str); if (period == "") return 0; if (period == "every" || period == "hourly") { var arr_str = recur_str.split(" "); if (arr_str.length>1) { var min_str = arr_str[1] ; var i = 2; while(!(min_str.length) && (i < arr_str.length)) { min_str = stripWS(arr_str[i]); i++; } return ConvertToIndex(min_str,1); } return 0; } else { var arr_str = recur_str.split(" "); if (arr_str.length) { var str = arr_str[arr_str.length-1]; var arr_timer = str.split(":"); if (arr_timer.length>1) { var min_str = arr_timer[1]; return ConvertToIndex(min_str,15); } } return 0; } } function getDayIndex(recur_str) { var period = getPeriodicity(recur_str); if (period == "" || period == "every" || period == "hourly" || period == "daily" || period == "weekly") return 0; else { var arr_str = recur_str.split(" "); if (arr_str.length>2) { var day_str = arr_str[2]; return ConvertToIndex(day_str,1)-1; } return 0; } } function getWeekDayIndex(recur_str,optionsArrObj) { var period = getPeriodicity(recur_str); if (period == "weekly") { var arr_str = recur_str.split(" "); if (arr_str.length>2) { var weekday_str = arr_str[2]; return ConvertWeekDayToIndex(weekday_str,optionsArrObj); } } return 0; } var L_ReqPositiveNumber_TEXT="You must enter a positive number for field ";var L_ReqNumber_TEXT = "You must enter a number for ";function CheckForNum(text,field_name) { if (text.length == 0) { alert(L_ReqNumber_TEXT + field_name); return false; } var len = text.length-1; for(;len >= 0;len--) if (text.charAt(len) != ' ') break; if (len < 0) { alert(L_ReqNumber_TEXT + field_name); return false; } for(;len >= 0;len--) { if (text.charCodeAt(len) < "0".charCodeAt(0) || text.charCodeAt(len) > "9".charCodeAt(0)) break; } for(;len >= 0;len--) if (text.charAt(len) != ' ') break; if (len >= 0) { alert(L_ReqPositiveNumber_TEXT + field_name); return (false); } return (true);} var L_TextWithoutSpaces_TEXT="You must enter text without spaces in field .";var L_FieldCanNotBeEmpty_TEXT = " field can't be empty!";function LookForInsideSpaces(string,field_name){ if (string.length == 0) { alert(field_name+L_FieldCanNotBeEmpty_TEXT); return (false); } var len = string.length-1; for(;len >= 0;len--) if (string.charAt(len) != ' ') break; if (len < 0) { alert(field_name + L_FieldCanNotBeEmpty_TEXT); return (false); } for(;len >= 0;len--) if (string.charAt(len) == ' ') break; for(;len >= 0;len--) if (string.charAt(len) != ' ') break; if(len >= 0) { alert(L_TextWithoutSpaces_TEXT+field_name); return (false); } return (true);} function changeOptions(index){ with (document.forms.frm) { if (index == 0) { CacheMaxDocMeta.value = "4096"; CacheMaxInclude.value = "16"; CacheMaxImage.value = "16"; TextMemory.value ="1"; CacheMaxIncludeSize.value = "256"; return; } if (index == 1) { CacheMaxDocMeta.value = "4096"; CacheMaxInclude.value = "16"; CacheMaxImage.value = "16"; TextMemory.value ="2"; CacheMaxIncludeSize.value = "256"; return; } if (index == 2) { CacheMaxDocMeta.value = "16384"; CacheMaxInclude.value = "16"; CacheMaxImage.value = "16"; TextMemory.value ="4"; CacheMaxIncludeSize.value = "256"; return; } }} function newr() { with(document.forms.frm) { if (CheckForEmptyFieldNoAlert(SMTPHost.value)) { if (!CheckForAtSighInEmailName(MailSender.value,L_SMTPFROM_TEXT)) return; if (!CheckForAtSighInEmailName(MailReplyTo.value,L_SMTPTO_TEXT)) return; } else { if (CheckForEmptyFieldNoAlert(MailSender.value)) if (!CheckForAtSighInEmailName(MailSender.value,L_SMTPFROM_TEXT)) return; if (CheckForEmptyFieldNoAlert(MailReplyTo.value)) if (!CheckForAtSighInEmailName(MailReplyTo.value,L_SMTPTO_TEXT)) return; } Logging.value = chkLogging.checked?"1":"0"; RequireSSL.value = chkRequireSSL.checked?"enabled":"disabled"; NoExecutableCgiUpload.value = chkNoExecutableCgiUpload.checked?"0":"1"; UsageAnalysisLogExpiry.value = usage_delete.checked? usage_delete_month.value:0 ; if (!CheckForNum(UsageAnalysisLogExpiry.value,L_AutoUsage_TEXT)) return; UsageFullDaysOnly.value = full_days_only.checked?"true":"false"; submit(); } } function prefill() { var main_frm = document.forms.frm; { main_frm.usage_delete.checked = (main_frm.usage_delete_month.value != "0"); main_frm.usage_delete_month.value = (main_frm.usage_delete_month.value == "")?12:main_frm.usage_delete_month.value; } } </script> </head> <body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#000000" link="#1B55FB" vlink="#BB1CFF" alink="#FF1C2C" onload="javascript:prefill();"> <form name=frm method="POST" action=fpadmcgi.exe onSubmit="javascript:{return false;};" > <input type="hidden" name="operation" value="policies"> <input type="hidden" name="port" value="global" > <input type="hidden" name="page" value="policies.htm"> <input type="hidden" name="nextpage" value="fpadmin.htm"> <input type="hidden" name="DiscussionsExpiry" > <input type="hidden" name="UsageAnalysisLogExpiry" > <input type="hidden" name="UsageFullDaysOnly" > <input type="hidden" name="usageschedule" > <input type="hidden" name="svrhealthschedule" > <input type="hidden" name="immidschedule" > <input type="hidden" name="dailyschedule" > <input type="hidden" name="weeklyschedule" > <input type="hidden" name="Authoring" > <input type="hidden" name="Logging" > <input type="hidden" name="RequireSSL" > <input type="hidden" name="NoExecutableCgiUpload" > <table border="0" width="100%" height="100%" cellpadding=0 cellspacing=0 class=main> <script Language="javascript"> var L_helplink_text="1033"; function HelpWindow(strHelpUrl) { var url = "/_vti_bin/_vti_adm/help/" + L_helplink_text; <ows:if type=global name=hasCollabSupport condition=equal result=true> url +="/collab/"; </ows:if> <ows:if type=global name=hasCollabSupport condition=notequal result=true> url +="/publish/"; </ows:if> url += strHelpUrl; var wndHelp = window.open(url, "MSOWSHELP", "width=187,height=500,menubar,scrollbars,toolbar,resizable"); } </script> <tr> <td width=100% valign="top" colspan=6> <table width=100% border="0" class="ms-bannerframe" cellpadding=3 cellspacing=0> <tr> <td nowrap valign="middle" align="left"><img alt="Logo" src="/_vti_bin/offlogo.gif" width="28" height="28" id=Image1></td> <td nowrap class="ms-banner" align=left height=34> <a ACCESSKEY=M href="fpadmcgi.exe?page=fpadmin.htm" ID=Administration><ID ID=Administration2>Administration</ID></a> <font size="2" color="#FFFFFF">|</font> <ID><a ACCESSKEY=P href="javascript:HelpWindow('wsgHome.htm');" ID=help ><ID ID=Help2collab>Help</ID></a></ID> </td> <td width=99%> </td> </tr> </table> </td> </tr> <tr> <td valign=top class="leftbar" colspan=4> <table width=100% border="0" class="TitleArea" cellpadding=3> <tr> <td style="padding-bottom: 0px"> <table width=100% cellpadding=0 cellspacing=0 border=0> <tr> <td align=center valign=top nowrap width="105" height="40"> <img alt="Icon" src= /_vti_bin/settings.gif width="43" height="43" id=icon_alt> </td> <td width=27> </td> <td nowrap> <table cellpadding=0 cellspacing=0 border=0> <tr> <td nowrap class="TitleArea"> <ows:if type=global name=hasCollabSupport condition=equal result=true>FrontPage Server Extensions 2002</ows:if><ows:if type=global name=hasCollabSupport condition=notequal result=true>FrontPage Server Extensions 2002</ows:if> </td> </tr> <tr> <td ID=AdminPageTitle nowrap class="PageTitle">Set Installation Defaults</td> </tr> </table> </td> </tr> </table> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td height=5 colspan=5><img src="/_vti_bin/blank.gif" width="1" height="1"></td> </tr> <tr> <td class="SectionLine" height=2 colspan=5><img src="/_vti_bin/blank.gif" width="1" height="1"></td> </tr> </table> </td> <td width=1px></td> </tr> </table> </td> </tr> <tr valign=top> <TD height=100% class=ms-nav> <TABLE height=100% class=ms-navframe CELLPADDING=0 CELLSPACING=4 border="0" width=133px> <tr valign=top> <td width=100%> </td> <td class=ms-verticaldots> </td> </tr> </TABLE> </TD> <td valign=top height="100%" width="100%"> <table class=propertysheet border="0" width="100%" cellspacing="4" cellpadding="0"> <!-- Page description--> <TR> <TD ID=DescriptionText valign=top colspan=5 class=descriptiontext>Use this page to specify default settings for virtual servers.</TD> </TR> <TR> <td> <table border="0" cellspacing="0" cellpadding="0"> <tr> <ows:if type=error name=all condition=notequal result=> <td><IMG src="/_vti_bin/warn_lg.gif"></td> <td> </td> <TD class="err" id=ErrorMessage><ows:var type=error name=all></ows:var></TD> </ows:if> </tr> </table> </td> </TR> <TR> <TD> <TABLE class=propertysheet border="0" width="100%" cellspacing="0" cellpadding="0"> <TR><TD class=ThinSectionLine height=1 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <!-- Usage Settings Section --> <TR> <TD width=75% class="descriptiontext" rowspan="6" valign="top" align="left"> <TABLE border="0" cellpadding=1 cellspacing=0 width=100%> <TR> <TD ID=Section4 class=SectionHeader height=28 valign=top>Usage Analysis</TD> </TR> <TR> <TD class="ms-propertysheet"><ID ID=Desc4>Specify default settings for usage analysis.</ID> <a href="javascript:HelpWindow('wsgpUsag.htm');" name=usageshowmore><ID ID=ShowMore4>Show me more information.</ID></a> </TD> </TR> <TR> <TD class="descriptiontext"><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> </TABLE> <TR> <TR> <TR> <TD class=AuthoringControls colspan=2> <input type="checkbox" name="usage_delete"><ID ID="usageautodelete">Automatically delete stored usage data after</ID> <input type="text" name="usage_delete_month" size="4" maxlength=8 onChange="this.form.usage_delete.checked = 1;" onClick="this.form.usage_delete.checked = 1;" value="<ows:var type=global name=UsageAnalysisLogExpiry></ows:var>" ><ID ID="usageautodeletemonths">months</ID> </TD> </TR> <TR> <TD class=AuthoringControls colspan=2> <input type="checkbox" name="full_days_only" value="true" <ows:if type=global name=UsageFullDaysOnly condition=notequal result=false> checked </ows:if> ><LocID ID=diidDailyProcess>Process log file data for full days only</LocID> </TD> </TR> <TR> <TD class="AuthoringControls" height=20px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR><TD class=ThinSectionLine height=1 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <!-- Mail --> <TR> <TD class="descriptiontext" rowspan="3" valign="top" align="left"> <TABLE border="0" cellpadding=1 cellspacing=0 width=100%> <TR> <TD ID=Section6 class=SectionHeader height=28 valign=top>Mail Settings</TD> </TR> <TR> <TD ID=Desc6 class="ms-propertysheet">Specify the SMTP mail server to use for <ows:if type=global name=hasCollabSupport condition=equal result=true>FrontPage Server Extensions 2002</ows:if><ows:if type=global name=hasCollabSupport condition=notequal result=true>FrontPage Server Extensions 2002</ows:if><LocID ID=Mail_Desc1> e-mail-based features, such as subscriptions and invitations. Personalize the from and reply-to addresses.</LocID> <a href="javascript:HelpWindow('wsgpSMTP.htm');" name=mailshowmore><ID ID=ShowMore6>Show me more information.</ID></a> </TD> </TR> <TR> <TD class="descriptiontext"><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> </TABLE> </TD> </TR> <TR> <TD class="Authoringcontrols"> </TD> <TD class="Authoringcontrols"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <TD class=AuthoringControls colspan=2 ID=SMTPServer>SMTP mail server: </TD> </TR> <TR> <TD class=AuthoringControls colspan=2> <input type="text" maxlength=256 name="SMTPHost" size=30 value="<ows:var type=global name=smtphost></ows:var>" > </TD> </TR> <TR> <TD class=AuthoringControls colspan=2 ID=From>From address: </TD> </TR> <TR> <TD class=AuthoringControls colspan=2> <input maxlength=256 type="text" name="MailSender" size=30 value="<ows:var type=global name=mailsender></ows:var>" > </TD> </TR> <TR> <TD class=AuthoringControls colspan=2 ID=ReplyTo> Reply-to address: </TD> </TR> <TR> <TD class=AuthoringControls colspan=2> <input maxlength=256 type="text" name="MailReplyTo" size=30 VALUE="<ows:var type=global name=mailreplyto></ows:var>" > </TD> </TR> </table> </td> </tr> <TR> <TD class="AuthoringControls" height=20px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR><TD class=ThinSectionLine height=1 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <!-- Misc --> <TR> <TD class="descriptiontext" rowspan="3" valign="top" align="left"> <TABLE border="0" cellpadding=1 cellspacing=0 width=100%> <TR> <TD ID=Section7 class=SectionHeader height=28 valign=top>Security Settings</TD> </TR> <TR> <TD ID=Desc7 class="ms-propertysheet">Specify which security settings to implement. <a href="javascript:HelpWindow('wsgpSec.htm');" name=secshowmore><ID ID=ShowMore7>Show me more information.</ID></a> </TD> </TR> <TR> <TD class="descriptiontext"><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> </TABLE> </TD> </TR> <TR> <TD class="Authoringcontrols"> </TD> <TD class=AuthoringControls> <input type=checkbox <ows:if type=global name=Logging condition=equal result=1> checked </ows:if> name="chkLogging"value="1"><ID id=logAA>Log authoring actions</ID><br> <input type=checkbox <ows:if type=global name=RequireSSL condition=equal result=enabled> checked </ows:if> name="chkRequireSSL" value="enabled"><ID id=ReqSSL>Require SSL for authoring and administration</ID><br> <input type=checkbox <ows:if type=global name=NoExecutableCgiUpload condition=notequal result=1> checked </ows:if> name="chkNoExecutableCgiUpload" value="0"><ID id=Upload>Allow authors to upload executables</ID><br> </TD> </TR> <TR> <TD class="AuthoringControls" height=20px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR><TD class=ThinSectionLine height=2 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR> <TD height=10px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR> <TD colspan=3 align=right ID=diidSubmitsection> <input type="button" id="btnSubmit" value=" Submit " onClick="javascript:newr()"> <input type="button" id="btnCancel" value=" Cancel " onClick="document.location='fpadmcgi.exe?page=fpadmin.htm';"> </TD> </TR> </table> </td> </tr> <TR> <TD height=20px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> </table> </td> </tr> </table> </body> </html>