summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-15 18:02:09 +0000
committerSteven Barth <steven@midlink.org>2008-06-15 18:02:09 +0000
commiteac91268f18e56249335a6d503a1f999d2455656 (patch)
treebb5fecee55541d678b78deaebd9b2fdde176ed19 /libs
parenteae0e447989a1a37ce6cb8df9f1f353738aab4f6 (diff)
* Finished support for SGI CGI
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/sgi-cgi/htdocs/cgi-bin/index.cgi3
-rw-r--r--libs/sgi-cgi/htdocs/index.html10
2 files changed, 13 insertions, 0 deletions
diff --git a/libs/sgi-cgi/htdocs/cgi-bin/index.cgi b/libs/sgi-cgi/htdocs/cgi-bin/index.cgi
new file mode 100755
index 000000000..fc1148de6
--- /dev/null
+++ b/libs/sgi-cgi/htdocs/cgi-bin/index.cgi
@@ -0,0 +1,3 @@
+#!/usr/bin/lua
+print("Status: 302 Found")
+print("Location: luci\n")
diff --git a/libs/sgi-cgi/htdocs/index.html b/libs/sgi-cgi/htdocs/index.html
new file mode 100644
index 000000000..39ba558df
--- /dev/null
+++ b/libs/sgi-cgi/htdocs/index.html
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="refresh" content="0; URL=/cgi-bin/index.cgi" />
+</head>
+<body style="background-color: black">
+<a style="color: white; text-decoration: none" href="/cgi-bin/index.cgi">LuCI - Lua Configuration Interface</a>
+</body>
+</html> \ No newline at end of file