Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
3.1 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <html dir=ltr>
  3. <head>
  4. <style>
  5. a:link {font:8pt/11pt verdana; color:FF0000}
  6. a:visited {font:8pt/11pt verdana; color:#4e4e4e}
  7. </style>
  8. <META NAME="ROBOTS" CONTENT="NOINDEX">
  9. <title>The page cannot be found</title>
  10. <META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
  11. </head>
  12. <script>
  13. function Homepage(){
  14. <!--
  15. // in real bits, urls get returned to our script like this:
  16. // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
  17. //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
  18. DocURL = document.URL;
  19. //this is where the http or https will be, as found by searching for :// but skipping the res://
  20. protocolIndex=DocURL.indexOf("://",4);
  21. //this finds the ending slash for the domain server
  22. serverIndex=DocURL.indexOf("/",protocolIndex + 3);
  23. //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
  24. //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
  25. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
  26. BeginURL=DocURL.indexOf("#",1) + 1;
  27. urlresult=DocURL.substring(BeginURL,serverIndex);
  28. //for display, we need to skip after http://, and go to the next slash
  29. displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
  30. document.write('<A HREF="' + urlresult + '">' + displayresult + "</a>");
  31. }
  32. //-->
  33. </script>
  34. <body bgcolor="FFFFFF">
  35. <table width="410" cellpadding="3" cellspacing="5">
  36. <tr>
  37. <td align="left" valign="middle" width="360">
  38. <h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->The page cannot be found</h1>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td width="400" colspan="2">
  43. <font style="COLOR:000000; FONT: 8pt/11pt verdana">The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</font></td>
  44. </tr>
  45. <tr>
  46. <td width="400" colspan="2">
  47. <font style="COLOR:000000; FONT: 8pt/11pt verdana">
  48. <hr color="#C0C0C0" noshade>
  49. <p>Please try the following:</p>
  50. <ul>
  51. <li>If you typed the page address in the Address bar, make sure that it is spelled correctly.<br>
  52. </li>
  53. <li>Open the
  54. <script>
  55. <!--
  56. if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))
  57. {
  58. Homepage();
  59. }
  60. //-->
  61. </script>
  62. home page, and then look for links to the information you want.</li>
  63. <li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
  64. </ul>
  65. <h2 style="font:8pt/11pt verdana; color:000000">HTTP 404 - File not found<br>
  66. Internet Information Services<BR></h2>
  67. <hr color="#C0C0C0" noshade>
  68. <p>Technical Information (for support personnel)</p>
  69. <ul>
  70. <li>More information:<br>
  71. <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=404&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank">Microsoft Support</a>
  72. </li>
  73. </ul>
  74. </font></td>
  75. </tr>
  76. </table>
  77. </body>
  78. </html>