-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
29 lines (28 loc) · 968 Bytes
/
404.html
File metadata and controls
29 lines (28 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!doctype html>
<meta charset="utf-8">
<style>
p,
address {
margin-left: 3em;
}
span {
font-size: smaller;
}
</style>
<title>Object not found!</title>
<h1>Object not found!</h1>
<p>要求された URL は本サーバでは見つかりませんでした。もし手入力で URL を入力した場合は、綴りを確認して再度お試し下さい。</p>
<p>サーバの障害と思われる場合は、<a href="mailto:webmaster@tateya.or.jp">ウェブ管理者</a>までご連絡ください。</p>
<section>
<h1>Error 404</h1>
<address><a href="/">www.tateya.or.jp</a><br><span id="time"></span><br><span id="server-name"></span></address>
</section>
<script>
window.onload = function() {
var xhr = new XMLHttpRequest();
document.getElementById('time').textContent = (new Date()).toUTCString();
xhr.open('GET', '', false);
xhr.send();
document.getElementById('server-name').textContent = xhr.getResponseHeader('server') || 'none';
};
</script>