summaryrefslogtreecommitdiffstats
path: root/var/www/build.alpinelinux.org/htdocs/errors/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'var/www/build.alpinelinux.org/htdocs/errors/test.lua')
-rw-r--r--var/www/build.alpinelinux.org/htdocs/errors/test.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/www/build.alpinelinux.org/htdocs/errors/test.lua b/var/www/build.alpinelinux.org/htdocs/errors/test.lua
new file mode 100644
index 0000000..18f71b3
--- /dev/null
+++ b/var/www/build.alpinelinux.org/htdocs/errors/test.lua
@@ -0,0 +1,15 @@
+#!/usr/bin/haserl --shell=lua
+Content-type: text/html
+
+<html>
+<body>
+<table border=1><tr>
+<%
+ t = {'Red', 'Blue', 'Yellow', 'Cyan'}
+ for k,v in ipairs(t) do
+ io.write('<td bgcolor="'..v..'">'..v..'</td>')
+ end
+%>
+</tr></table>
+</body>
+</html>