rejetto forum

Way to log referer?

Tralin · 2 · 1828

0 Members and 1 Guest are viewing this topic.

Offline Tralin

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Hey, I've been a user of HFS for a while, and I'm wondering if there's a way to log the referer address to the server; I've noticed that an internet proxy filter company accessed my server today, and I want to know what address they accessed it from.

Thanks,
Tralin


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
You can enter the Apache log format below in HFS

%h %l %u %t "%r" %>s %b "%{Referer}i %z" "%{User-Agent}i"

That will render log file entries simlar to the sample below.
Code: [Select]
statslab.cam.ac.uk - - [31/Dec/1999:10:11:12 +0000] "GET /sample.html HTTP/1.0" 200 1234 "http://referrer.com/" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)"
You can read more about it here, but I don't think HFS supports all apache log functions.
http://www.apacheweek.com/features/logfiles

If you want to get really serious about a log analyzer, Analog 6.0 is probably recognized
as the best and it's free !
It's not easy to configure, but it's worth the effort.
You can also link the apache log text file to M$ Access .mdb Configured properly it will also
do an excelent job analyzing.