备份好像没什么问题,
恢复经常是失败,或者中途失败
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html>
<head> <style> a:link {font:9pt/12pt 宋体; color:red} a:visited {font:9pt/12pt 宋体; color:#4e4e4e} </style> <meta HTTP-EQUIV="Content-Type" Content="text-html; charset=gb2312"> <title>HTTP 500 内部服务器错误</title> </head> <script>
function Related(){ userURL=document.location.href;
//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
BeginURL=userURL.indexOf("#",1) + 1; CurrentURL=userURL.substring(BeginURL,DocURL.length); //Build the query RelatedServiceURL="http://related.msn.com/related.asp?url="; //Perform simple check for Intranet URLs //this is where the http or https will be, as found by searching for :// but skip res: protocolIndex=userURL.indexOf("://",4); serverIndex=userURL.indexOf("/",protocolIndex + 3); urlresult=userURL.substring(0,serverIndex); if (protocolIndex - BeginURL > 7) urlresult="" //Check if Intranet URL - then open search bar if (urlresult.indexOf(".",0) < 1) userURL="Intranet URL"; finalURL = RelatedServiceURL + encodeURIComponent(userURL); window.open(finalURL, "_search"); }
function Homepage(){
// in real bits, urls get returned to our script like this: // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use //DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL=document.location.href; //this is where the http or https will be, as found by searching for :// but skipping the res:// protocolIndex=DocURL.indexOf("://", 4);
//this finds the ending slash for the domain server serverIndex=DocURL.indexOf("/", protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex); BeginURL=DocURL.indexOf("#",1) + 1; urlresult=DocURL.substring(BeginURL, serverIndex); if (protocolIndex - BeginURL > 7) urlresult=""
//for display, we need to skip after http://, and go to the next slash displayresult=DocURL.substring(protocolIndex + 3, serverIndex);
var aElement = document.createElement("A"); aElement.innerText = displayresult; aElement.href = urlresult;
homepageContainer.appendChild(aElement); }
function doSearch() { saOC.NavigateToDefaultSearch(); }
function initPage() { document.body.insertAdjacentHTML("afterBegin","<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>"); Homepage(); }
</script>
<body bgcolor="white" onload="initPage()">
<table width="400" cellpadding="3" cellspacing="5"> <tr> <td id="tableProps" valign="top" align="left"><img id="pagerrorImg" SRC="pagerror.gif" width="25" height="33"></td> <td id="tableProps2" align="left" valign="middle" width="360"><h1 id="errortype" style="COLOR: black; FONT: 13pt/14pt 宋体"><span id="errorText">无法显示网页</span></h1> </td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"><font style="COLOR: black; FONT: 9pt/12pt 宋体">您要访问的网页有问题,无法显示。</font></td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"><font id="LID1" style="COLOR: black; FONT: 9pt/12pt 宋体"><hr color="#C0C0C0" noshade> <p id="LID2">请尝试以下操作:</p><ul> <li id="instructionsText1">打开 <span id="homepageContainer"></span>  主页,然后查找指向您感兴趣信息的链接。 </li> <li id="instructionsText2">单击<a xhref="javascript:location.reload()" target="_self"><img border=0 src="refresh.gif" width="13" height="16" alt="refresh.gif (82 字节)" align="middle"></a><a xhref="javascript:location.reload()" target="_self">刷新</a>按钮,或以后再试。<br> </li> <li ID="instructionsText3">单击<a href="javascript:doSearch()"><img border=0 src="search.gif" width="16" height="16" alt="search.gif (114 字节)" align="center">搜索</a>,寻找 Internet 上的信息。 </li> <li id="instructionsText4">也可查看<a onclick="Related();event.returnValue=false" href="">相关站点列表</a>。 </ul> </p> <p><br> </p> <h2 id="ietext" style="font:9pt/12pt 宋体; color:black">HTTP 500 - 内部服务器错误 <BR> Internet Explorer </h2> </font></td> </tr> </table> </body> </html>
老大,你论坛插入代码好像有点问题
|