Just thought I'd let everyone know I finally cracked the mystery of the
apachelogformat - thanks to everyone's help and, I sheepishly admit,
breaking down and RTFMing .
Ultimately, I had two errors - I had two LOGFORMAT entries, the first
for an access_log and the second for a custom referer log. I had put my
APACHELOGFORMAT line before the first LOGFORMAT entry and not the
second. (DUHHH!)
Secondly, I had omitted the parentheses round the APACHELOGFORMAT. It
also seemed to help taking out the quotation marks from the format
string as written in httpd.conf.
Consequently, this now works for me:
====================================
# If you need a LOGFORMAT command it must go here, above the LOGFILE
command.
LOGFILE /etc/httpd/logs/images-magazine-uk.com-access_log
APACHELOGFORMAT (%{Referer}i -> %U)
LOGFILE /etc/httpd/logs/images-magazine-uk.com-referer_log
===============================================
Thanks for the support Stephen et al. Couldn't have done it without you.
Peter Rose
London UK
PS Stephen - how do you get any time for your research work after
answering all the mail???
"I don't like your fashion business mister"
- Leonard Cohen / First We Take Manhattan
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------