LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2005, 11:09 AM   #1
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Analog and Apache configuration


I'm having some trouble getting Analog to see my apache log files. I've tried a few different things like setting the log format in analog. I still can't get it to work.

This is the part of analog.conf I've altered:

# If you need a LOGFORMAT command (most people don't -- try it without first!),
# it must go here, above the LOGFILE commands.
APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{UserAgent}i\"")
LOGFILE /var/log/apache/access_log
# LOGFILE /old/logs/access_log.*
OUTFILE /home/simon/apache/log
HOSTNAME "oliverroad.selfip.com"

And this is the anlghead.h



/*** These settings are overridden by any in your configuration file. ***/

/*** DON'T REMOVE THE #'S -- THEY'RE NOT COMMENTS! ***/

#ifndef ANLGHEAD_H
#define ANLGHEAD_H

#ifndef HOSTNAME
#define HOSTNAME "oliverroad"
/* The name of your organisation or web server. This is used for printing
at the top of the output. */
#endif

#ifndef HOSTURL
#define HOSTURL "http://www.oliverroad.selfip.com"
/* The URL of your host's home page, for linking to at the top of the
output; use "none" for no linking. */
#endif

#ifndef LOGFILE
#define LOGFILE "/var/log/apache/access_log"
/* The name of the default logfile. Can be a list, separated by commas
(but no spaces), and can include wild cards. */
#endif

#ifndef OUTFILE
#define OUTFILE "/home/simon/apache/log"
/* The default file for output. Use "stdout" for stdout. */
#endif

#ifndef IMAGEDIR
#define IMAGEDIR "/home/simon/downloads/analog-6.0/images/"
/* URL of the directory where the images for the graphical reports live.
The URL can be absolute, or relative to the output page: e.g., just the
empty string "" for the same directory as the output page. */
#endif

#ifndef LOGO
#define LOGO "/home/simon/downloads/analog-6.0/images/"
/* the file where the analog logo lives: within the IMAGEDIR unless it
starts with / or contains :// . You can put another logo in here (your
organisation's logo, for example -- but if you do, change the LOGOURL
below too). Use "none" for no logo. */
#endif

#ifndef LOGOURL
#define LOGOURL "http://www.analog.cx/"
/* Where the logo links to, in XHTML output. */
#endif


I'm not sure if I need to change anything in apache/httpd.conf.

Any help appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache configuration simcox1 Linux - Networking 14 10-25-2005 05:46 AM
Apache configuration snurckle Linux - Newbie 4 07-25-2004 10:06 PM
Apache configuration? sikandar Linux - Software 2 10-21-2003 12:54 PM
Apache 2 Configuration..... odgey Linux - Software 2 06-27-2003 02:20 AM
apache configuration hardigunawan Linux - Newbie 1 06-21-2002 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration