About 500-100.asp

Source: Internet
Author: User
Tags domain domain server
One of the things I thought was strange, I installed Windows Advanced Server (中文版) has never been able to show the full error message, so I was surprised when I saw someone else's machine showing no errors. Is it related to as as or to the English version? I installed the machine without modifying any settings and files.
I checked the 500-100.asp created date and the time I installed the system, the revision time is 1999-11-19.
The contents are as follows:
<%@ language= "VBScript"%>
<%
Option Explicit

Const lngmaxformbytes = 200

Dim objASPError, blnErrorWritten, strServerName, strServerIP, strRemoteIP
Dim strmethod, Lngpos, Datnow, strquerystring, strURL

If Response.Buffer Then
Response.Clear
Response.Status = "Internal Server Error"
Response.ContentType = "Text/html"
Response.Expires = 0
End If

Set objASPError = Server.GetLastError
%>
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 3.2 final//en" >


<style>
a:link {font:8pt/11pt verdana; color:ff0000}
a:visited {font:8pt/11pt verdana; color: #4e4e4e}
</style>

<meta name= "ROBOTS" content= "NOINDEX" >

<title>the Page cannot be displayed</title>

<meta http-equiv= "Content-type" content= "text-html; charset=windows-1252 ">

<script>
function homepage () {
<!--
In real bits, URL get returned to We 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'll is, 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 are need a valid URL to the domain. We Search for the ' # symbol to find the begining
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 http://, and go to the next slash
Displayresult=docurl.substring (Protocolindex + 3, serverindex);
document.write (' <a href= ' + urlresult + ' "> ' + displayresult +" </a> ");
}
-->
</script>

<body bgcolor= "FFFFFF" >

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

<tr>
&LT;TD align= "left" valign= "Middle" width= "360" >

</td>
</tr>

<tr>
&LT;TD width= "colspan=" 2 ">
<font style= "color:000000; font:8pt/11pt Verdana ">there is a problem with the page you are trying to reach and it cannot be DISPLAYED.&LT;/FONT&G T;</td>
</tr>

<tr>
&LT;TD width= "colspan=" 2 ">
<font style= "color:000000; font:8pt/11pt Verdana ">


<p>please try the Following:</p>

<ul>
<li id= "InstructionsText1" >cli



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.