Hi - 

I have started using Analog 4.0 recently and it has all worked very
well. I carry several virtual hosts and I have Analog run daily for each
of them with their own config files via crontab.
However, I seem to be unable to access the referer logs, even though the
logs exist and Apache is writing to them.

Here is a sample of one of my virtual host analog config files (I've
just included the top bit as I suspect that's where my error lies:

=========================
# If you need a LOGFORMAT command it must go here, above the LOGFILE
command.
APACHELOGFORMAT (%h %l %u %t \"%r\" %s %b)
LOGFILE /etc/httpd/logs/images-magazine-uk.com-access_log,images-
magazine-uk.com-referer_log
OUTFILE /home/httpd/html/cyberscreen/images_stats.html 
HOSTNAME "IMAGES-MAGAZINE-UK.COM"
# URL for the images directory
IMAGEDIR "http://www.cyberscreen.com/images
========================================
I was running without a LOGFORMAT line at all, so I thought maybe that
was my problem, but I have just tried with the above APACHELOGFORMAT
added, and same error, which is a category F "cannot open images-
magazine-uk.com-referer_log, ignoring it"

Here are the relevant sections from my httpd.conf:

======================================================

# The following directives define some format nicknames for use with
# a CustomLog directive (see below).

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# The location of the access logfile (Common Logfile Format).
# If this does not start with /, ServerRoot is prepended to it.

CustomLog logs/access_log common

# If you would like to have an agent and referer logfile uncomment the
# following directives.
#Uncommented 24/10/99

CustomLog logs/referer_log referer
CustomLog logs/agent_log agent

# If you prefer a single logfile with access, agent and referer
information
# (Combined Logfile Format) you can use the following directive.

#CustomLog logs/access_log combined
--------
and the Virtual Host Directive for this domain:

<VirtualHost 208.48.185.175>
ServerName www.images-magazine.com
DocumentRoot /home/httpd/html/imagesonline
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/images-magazine-uk.com-error_log
TransferLog logs/images-magazine-uk.com-access_log
CustomLog logs/images-magazine-uk.com-referer_log
</VirtualHost>
--------------------

I'm a little confused as to whether I have an apache error or an analog
error.

Any pointers welcome.

Peter Rose
cyberscreen internet services
London UK



"I don't like your fashion business mister" 
  - Leonard Cohen / First We Take Manhattan

"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/analog-help@lists.isite.net/
------------------------------------------------------------------------

Reply via email to