summaryrefslogtreecommitdiffstats
path: root/client/shared/lib/httpd/LogSession.sh
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-10-19 16:01:47 +0000
committeradv <adv@uma.es>2011-10-19 16:01:47 +0000
commit3f73876dbf767793a869e7a4f1f2538342b690b5 (patch)
tree1733c43d9045012997a8786bd34c49714550fe6d /client/shared/lib/httpd/LogSession.sh
parent87cd58aba6e1899865b0efddd21c3ea3a3eca834 (diff)
version 1.0.2 httpdlog #421 #422
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2353 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/lib/httpd/LogSession.sh')
-rw-r--r--client/shared/lib/httpd/LogSession.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/client/shared/lib/httpd/LogSession.sh b/client/shared/lib/httpd/LogSession.sh
new file mode 100644
index 00000000..a5d18e68
--- /dev/null
+++ b/client/shared/lib/httpd/LogSession.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+echo "Content-type: text/html"
+echo ""
+echo "<html><head> <meta http-equiv='Refresh' content='5,URL=./LogSession.sh'> <title>Bash as CGI"
+echo "</title>"
+
+echo "<style type='text/css'>"
+echo "<!--"
+echo "TEXTAREA {"
+echo "background-color: navy;"
+echo "border: black 2px solid;"
+echo "color: white;"
+echo "font-family: arial, verdana, ms sans serif;"
+echo "font-size: 8pt;"
+echo "font-weight: normal"
+echo "} "
+echo "-->"
+echo "</style>"
+
+
+
+echo "</head><body>"
+
+echo "<TEXTAREA NAME='contenido' ROWS='115' COLS='175' >"
+echo "$(cat /tmp/session.log | uniq )"
+echo "</TEXTAREA>"
+
+
+
+echo "</body></html>"
+