diff options
author | P. J. McDermott <pjm@nac.net> | 2012-04-21 23:48:42 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-04-21 23:48:42 (EDT) |
commit | 2ec3191492887dd090d89a1185e519d083ac2f0d (patch) | |
tree | 2f4606a722405f5786e24aec4751238f59488f68 /src/var/www/cgi-bin | |
parent | 9cf9428ad12c2956fd3e0b5e22ca74c5a79fa31b (diff) |
Add some files to test the Web server.
Diffstat (limited to 'src/var/www/cgi-bin')
-rw-r--r-- | src/var/www/cgi-bin/uptime.cgi | 18 |
1 files changed, 18 insertions, 0 deletions
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 |