The <LOCLOG> code under EHTML is used to maintain a "visitor log". That is, a log file is updated every time your page is loaded by a client. The file contains the client domain of each load. The <LOCLOG> code can then be used to create a report which summarizes the visitors to your page.
Since the <LOCLOG> code maintains the log of the visitors to a given page in a special file, it must be able to create and access that file. This means that the "html/ehtml" directory, where the logs are stored, must be both "readable" and "writable".
To begin the setup for the <LOCLOG> command, you must access a UNIX prompt by either logging in to "alpha.vaxxine.com" using a terminal emulator program or by using a "telnet" program running over SLIP/PPP.
After logging in, you must set your "html/ehtml" directory so that it can be accessed by the EHTML server. To do so, enter the following commands under UNIX.
cd ~/html/ehtml ; # Enter your "html/ehtml" directory under UNIX chmod a+rw . ; # This lets the EHTML server access logs
After your log file is able to be created in the way specified above, you must add the code to your document in order to maintain the log. You use the format <LOCLOG logfile> where logfile can be any short name for this particular log. Note that by convention you should not use spaces in your log file name. As well, the EHTML server automatically adds an extension of ".location" to log files.
[
EHTML Overview |
EHTML Setup |
EHTML Codes |
EHTML Problems
]
Please Report Problems With This Page To:
Vaxxine Web Development, vaxxweb@vaxxine.com
Original EHTML documentation by RK. EHTML originally designed by JP, updates by RK.