source: client/shared/lib/httpd/LogSession.sh @ de734df

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since de734df was 21c226b, checked in by irina <irinagomez@…>, 11 years ago

#636 consola de log en utf-8

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4161 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 688 bytes
Line 
1#!/bin/bash
2OGLOGSESSION=${OGLOGSESSION:-"/tmp/session.log"}
3echo "Content-type: text/html"
4echo ""
5echo "<html><head>"
6echo "   <meta charset='utf-8'>"
7echo "   <meta http-equiv='Refresh' content='5,URL=./LogSession.sh'>"
8echo "   <title>Bash as CGI</title>"
9
10echo "<style type='text/css'>"
11echo "<!--"
12echo "TEXTAREA {"
13echo "background-color: navy;"
14echo "border: black 2px solid;"
15echo "color: white;"
16echo "font-family: arial, verdana, ms sans serif;"
17echo "font-size: 8pt;"
18echo "font-weight: normal"
19echo "} "
20echo "-->"
21echo "</style>"
22
23echo "</head><body>"
24
25echo "<TEXTAREA NAME='contenido' ROWS='115' COLS='175'  >"
26uniq $OGLOGSESSION
27echo "</TEXTAREA>"
28
29echo "</body></html>"
30
Note: See TracBrowser for help on using the repository browser.