Welcome, Guest
Please Login or Register.
Lost Password?
Re: AWSats config (1 viewing)
Post Reply

TOPIC: Re: AWSats config

#2674
DanLong (User)
Posts: 431
graphgraph
AWSats config 2006/09/06 12:08  
Crazyman is back ;)

How do we configure AWStats for all the functions to work?

Currently, things like:

Connect to site....only indexes as unknown

search words, phrases etc

Those are a few of the most powerful functions AWSats has and I was wondering how to get those logged.

or is it a matter of apache logging? If so, how to fix
  The administrator has disabled public write access.
#2675
Joe (Admin)
Posts: 4213
graph
Re: AWSats config 2006/09/06 13:18  
Hey Dan,

Yep, I believe enabling the combined log format in Apache will give more detail--though I'm not sure if it will give all of the detail you're after. It adds referer and user agent. Referer, I believe will result in the search terms showing up.

To enable this, you'll go to the Webmin Apache module, edit each domain that you'd like to provide the additional information, and click the Log Files icon. On that page, find the "Access log files" option and change the format from "common" to "combined".

If you have a lot of domains you want to change, you can use sed:

# cd /etc/httpd/conf
# sed -i "s/^CustomLog(.*)common$/CustomLog1combined/" httpd.conf


If you need more data than that, you'll have to add another custom format. The Apache docs cover logging nicely:

http://httpd.apache.org/docs/2.0/logs.html
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.