: >Hello, everyone,
: > Sorry if this has been one of the FAQs. I wonder if anyone
: >knows how to get a 'log' file so that I can tell who has read my
: >home page? Thanks a lot in advance!
For NCSA httpd, or clones, the log file defaults to
/usr/local/etc/httpd/logs/access_log
If your website won't let you see it, or wants to charge you $$ for a precis,
but does let you make CGI scripts, include an inline image like
<img src=bozo.cgi>
where bozo.cgi is
#!/bin/sh
echo $REMOTE_ADDR >> logfile
echo Content-type: image/gif
echo
cat bozo.gif
exit
making sure that the httpd process can write to logfile. You might have to write
another CGI to delete the logfile occasionally
#!/bin/sh
rm logfile
echo Content-type: text/plain
echo
echo Just deleted logfile
exit
If you've access to the ftp transfer log, try an ftp:// URL and maybe
you'll pick up some email addresses too.
One page I tried - 55 accesses, maybe 20 possible email addresses, 4 real names
with finger. If you think that's invasive, if you call someone on the phone
who has caller ID and a CD-ROM ,they can get your street address before they answer
the phone. Considering going ex-directory now ?? :)= (this is normal practice
for anonymous ftp, anyhow, plus maybe a reverse DNS check).
--
TRIUMF voice: 604-222-7376
4004 Wesbrook Mall fax: 604-222-7307
Vancouver BC http://andrew.triumf.ca/~andrew
Canada V6T 2A3 49D14.7N 123D13.6W