Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 AWStats and multiple/remote servers
Google
Post new topic Reply to topic
Author Message
Aries
 
 


Joined: 18 Mar 2005
Posts: 4

PostPosted: Mon Mar 21, 2005 2:49 am Reply with quoteBack to top

I've installed A2T and can run AWStats for my localhost, successfully. I was just wondering if we can configure multiple web servers and if it's possible to read/analyze the log from a remote server or do we need to install AWStat on each of those web servers?

Any help/suggestion would be much appreciated.

Thanks in advance
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Tue Mar 22, 2005 2:13 am Reply with quoteBack to top

make awstats.example.com.conf for each domain (example.com in this case) might also want to see http://www.jrcsnet.ca/awstats/
View user's profileSend private message
Tastiger
 
 


Joined: 28 May 2006
Posts: 25

PostPosted: Sun Feb 25, 2007 9:33 pm Reply with quoteBack to top

I'll resurrect this thread as the link above is no longer active.

I now have:-

awstats.localhost.conf
awstats.polyoz.dhs.org.conf
awstats.scm-rpg.dhs.org.conf

But my problem is how to access these - if one follows the link it takes you to awstats.cgi which only shows stats for localhost.

How do I access the stats for the other domains?

UPDATE - FIXED

It is on page 11 of the pdf manual :-

http://127.0.0.1/awstats/awstats.cgi?config=ServerName (from VirtualHost)

is the setting that worked for me but you will have to change the type of log file

CustomLog logs/localhost-access_log common

won't work with awstats - I had to change the log type to combined

ie:- CustomLog logs/localhost-access_log combined


So your virtual host should be something like this:-

Code:
NameVirtualHost *:80

#localhost
<VirtualHost localhost:80>
   ServerName localhost
   ServerAdmin admin@polyoz.dhs.org
   DocumentRoot c:/apache2triad/htdocs
   ErrorLog logs/localhost-error_log
   CustomLog logs/localhost-access_log combined
</VirtualHost>
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT