From 2ec3191492887dd090d89a1185e519d083ac2f0d Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Sat, 21 Apr 2012 23:48:42 -0400
Subject: Add some files to test the Web server.

---
(limited to 'src/var')

diff --git a/src/var/www/cgi-bin/uptime.cgi b/src/var/www/cgi-bin/uptime.cgi
new file mode 100644
index 0000000..f1badae
--- /dev/null
+++ b/src/var/www/cgi-bin/uptime.cgi
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+cat <<EOF
+Content-Type: text/html; charset=utf-8
+
+<!DOCTYPE html>
+
+<html>
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+		<title>Operating System Uptime</title>
+	</head>
+	<body>
+		<h1>Operating System Uptime</h1>
+		<pre>$(uptime)</pre>
+	</body>
+</html>
+EOF
diff --git a/src/var/www/index.html b/src/var/www/index.html
new file mode 100644
index 0000000..e166dba
--- /dev/null
+++ b/src/var/www/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+
+<html>
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+		<title>Embedded Operating System Distribution</title>
+	</head>
+	<body>
+		<h1>It works!</h1>
+		<p>This is the default Web page for this server.</p>
+		<p>The HTTP daemon of the embedded operating system distribution is running.</p>
+	</body>
+</html>
--
cgit v0.9.1