summaryrefslogtreecommitdiff
path: root/404.php
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-21 22:48:04 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-21 22:48:04 -0400
commit3517c1aac1e844f91779e844b8030ad7b11e05d1 (patch)
treefc511745f9600dd50468f9e4320e83c8010673cf /404.php
parent6ced32a51269303343a6d3e803dc299eff39781d (diff)
add an automatic mirror selection script
Diffstat (limited to '404.php')
-rw-r--r--404.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/404.php b/404.php
new file mode 100644
index 0000000..aef4032
--- /dev/null
+++ b/404.php
@@ -0,0 +1,12 @@
+<?php
+// This is the template used by Nginx internally;
+// if you want something else, have Nginx intercept it.
+// Separation of concerns.
+header("HTTP/1.0 404 Not Found");
+?><html>
+<head><title>404 Not Found</title></head>
+<body bgcolor="white">
+<center><h1>404 Not Found</h1></center>
+<hr><center><?php echo $_SERVER["SERVER_SOFTWARE"]; ?></center>
+</body>
+</html>