aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/cgi-bin/simple.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/cgi-bin/simple.cgi')
-rw-r--r--doc/examples/cgi-bin/simple.cgi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/examples/cgi-bin/simple.cgi b/doc/examples/cgi-bin/simple.cgi
new file mode 100644
index 00000000..421924c3
--- /dev/null
+++ b/doc/examples/cgi-bin/simple.cgi
@@ -0,0 +1,14 @@
1#!/bin/sh
2
3
4
5echo -ne "Content-type: text/html\r\n\r\n"
6
7echo -e "<HTML>\n"
8echo -e "<BODY>\n"
9
10echo -e "THis is a simple cgi file\n"
11echo -e "$QUERY_STRING"
12echo -e "</body>"
13echo -e "</html>"
14