noallow.asp

来自「图书管理系统是用VC++做的有兴趣的可以来共同研究研究」· ASP 代码 · 共 129 行

ASP
129
字号
<!-- #include file="inc/setup.asp" -->
<html dir=ltr>

<head>
<style> a:link                  {font:9pt/11pt 宋体; color:FF0000} a:visited               {font:9pt/11pt 宋体; color:#4e4e4e}
</style>

<META NAME="ROBOTS" CONTENT="NOINDEX">

<title>您没有权限查看该网页</title>

<META HTTP-EQUIV="Content-Type" Content="text-html; charset=gb2312">
<META NAME="MS.LOCALE" CONTENT="ZH-CN">
</head>

<script>
<!--
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.URL;

	//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);

	//for display, we need to skip after http://, and go to the next slash
	displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
	InsertElementAnchor(urlresult, displayresult);
}

function HtmlEncode(text)
{
    return text.replace(/&/g, '&amp').replace(/'/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
}

function TagAttrib(name, value)
{
    return ' '+name+'="'+HtmlEncode(value)+'"';
}

function PrintTag(tagName, needCloseTag, attrib, inner){
    document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) );
    if (needCloseTag) document.write( '</' + tagName +'>' );
}

function URI(href)
{
    IEVer = window.navigator.appVersion;
    IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );

    return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ?
        encodeURI(href) :
        escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';');
}

function InsertElementAnchor(href, text)
{
    PrintTag('A', true, TagAttrib('HREF', URI(href)), text);
}

//-->
</script>

<body bgcolor="FFFFFF">

<table width="410" cellpadding="3" cellspacing="5">

  <tr>
    <td align="left" valign="middle" width="360">
	<h1 style="COLOR:000000; FONT: 12pt/15pt 宋体"><!--Problem-->您没有权限查看该网页</h1>
    </td>
  </tr>

  <tr>
<td width="400" colspan="2"> <font style="COLOR:000000; FONT: 9pt/11pt 宋体">您无权通过所用 Web 浏览器的 Internet 地址查看该目录或网页。</font></td>
  </tr>

  <tr>
    <td width="400" colspan="2"> <font style="COLOR:000000; FONT: 9pt/11pt 宋体"> 
      <hr color="#C0C0C0" noshade>
      <p>如果您确信应该能够查看该目录或网页,请与 Web 站点管理员联系,其电子邮件地址或电话号码请参阅 
        <script>
	<!--
	if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))
	{
		 Homepage();
	}
	//-->
	</script>
        主页。</p>
      <h2 style="font:9pt/11pt 宋体; color:000000">HTTP 403.6 - 禁止访问:IP 地址被拒绝<br>
        Internet 信息服务</h2>
      <hr color="#C0C0C0" noshade>
      <p>技术信息(支持个人)</p>
      <ul>
        <p> 
        <li>背景:<br>
          导致此错误的原因是:服务器中有不能访问该站点的 IP 地址列表,并且您使用的 IP 地址在该列表中。</p> 
          <p> 
        <li>详细信息:<br>
          <br>
          <a href=http://lingfengnet.com target="_blank"><font color="#FF0000">自由岭峰网络 
          支持</font></a><br><br>
          <a href="<%=lingfengnet_ms_web_url%>" target="_blank"><font color="#FF0000"><%=lingfengnet_ms_web_name%> 
          支持</font></a> <br>
          <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=403.6&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank"><br>
          Microsoft 支持</a> </li>
        </p>
        
      </ul>
      </font></td>
  </tr>

</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?