~mdw
/
odin-cgi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cgi/ip: New simple service to print client's IP address.
[odin-cgi]
/
cgi
/
ip
diff --git a/cgi/ip
b/cgi/ip
new file mode 100755
(executable)
index 0000000..
026617b
--- /dev/null
+++ b/
cgi/ip
@@ -0,0
+1,7
@@
+#! /usr/bin/perl
+print <<EOF;
+Content-type: text/plain; charset=us-ascii
+
+$ENV{REMOTE_ADDR}
+EOF
+exit 0;