Commit f35c20ba9b8e07b966176f04bdfeb706a4de5557:
Merge branch 'master' of github.com:apache/whimsy
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
www/status.cgi | +++++++++++++
------------------------------------------------------------
13 changes: 13 additions, 0 deletions.
------------------------------------------------------------
diff --git a/www/status.cgi b/www/status.cgi
new file mode 100755
index 0000000..ac58401
--- /dev/null
+++ b/www/status.cgi
@@ -0,0 +1,13 @@
+#!/usr/bin/ruby
+require 'wunderbar'
+
+# the following is what infrastructure team sees:
+print "Status: 200 OK\r\n"
+
+# For human consumption:
+_html do
+ _h1 "Whimsy-Test Status"
+ _p do
+ _a 'Ping My Box', href: 'https://www.pingmybox.com/dashboard?location=470'
+ end
+end